3 # The idea to this kind of setup info script was stolen from numerous
4 # other packages, such as neon, libxml and gnome.
6 # $Id: xcurses-config.in,v 1.6 2007/11/07 23:33:07 wmcbrine Exp $
12 exec_prefix
=@exec_prefix@
13 includedir
=@includedir@
/xcurses
17 echo "Usage: xcurses-config [OPTION]"
19 echo "Available values for OPTION include:"
21 echo " --help display this help and exit"
22 echo " --cflags pre-processor and compiler flags"
23 echo " [-I$includedir]"
24 echo " --libs library linking information"
25 echo " [-L$prefix/lib -lXCurses @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@"
26 echo " --prefix PDCurses install prefix"
28 echo " --version output version information"
33 if test $# -eq 0; then
37 while test $# -gt 0; do
39 # this deals with options in the style
40 # --option=value and extracts the value part
41 # [not currently used]
42 -*=*) value
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
65 echo -L$prefix/lib
-lXCurses @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@