Let the configure script generate rote{,w}.h
[librote.git] / rote-config.in
blob7b712e81cf9bb8d5bd1c8e99019a82e2f03edcc7
1 #!/bin/sh
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5 libdir=@libdir@
6 includedir=@includedir@
7 version=@PACKAGE_VERSION@
8 libs="@LIBS@"
9 libname=@ROTE_LIB_NAME@
11 if test $# -eq 0; then
12 echo "Usage: rote-config [--cflags] [--libs]"
13 echo " rote-config --version"
14 echo
17 while test $# -gt 0; do
18 case $1 in
19 --cflags)
20 echo "-I$includedir"
22 --libs)
23 echo "$libs -L$libdir -l$libname"
25 --version)
26 echo "ROTE version $version"
27 echo "Our Own Terminal Emulation Library"
28 echo
29 echo "Copyright (c) 2004 Bruno T. C. de Oliveira"
30 echo "All rights reserved"
32 esac
33 shift
34 done