a
[apps/madtty.git] / rote-config.in
1 #!/bin/sh
2
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5 libdir=@libdir@
6 includedir=@includedir@
7 version=@PACKAGE_VERSION@
8 libs=@LIBS@
9
10 if test $# -eq 0; then
11    echo "Usage: rote-config [--cflags] [--libs]"
12    echo "       rote-config --version"
13    echo
14 fi
15
16 while test $# -gt 0; do
17    case $1 in
18       --cflags)
19          echo "-I$includedir"
20          ;;
21       --libs)
22          echo "$libs -L$libdir -lrote"
23          ;;
24       --version)
25          echo "ROTE version $version"
26          echo "Our Own Terminal Emulation Library"
27          echo
28          echo "Copyright (c) 2004 Bruno T. C. de Oliveira"
29          echo "All rights reserved"
30          ;;
31    esac
32    shift
33 done
34