3 # Shamelessly ripped from imlib-config that was
4 # apparently shamelessly ripped from gtk's gtk-config.in
7 VERSION
="@PWLIB_VERSION@"
11 LIBDIR
="@INSTALLPREFIX@/lib"
12 PWINSTDIR
="@INSTALLPREFIX@/share/pwlib"
15 OSRELEASE
="@OSRELEASE@"
16 SHAREDLIBEXT
="@SHAREDLIBEXT@"
17 INSTALLPREFIX
="@INSTALLPREFIX@"
19 # usage="Usage: ptlib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
20 usage
="Usage: ptlib-config [--version] [--pwlibdir] [--ccflags] [--ldflags] [--libs] [--machtype] [--ostype] [--osrelease] [--sharedlibext] [--prefix] [--libdir]"
22 if test $# -eq 0; then
27 while test $# -gt 0; do
29 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
68 echo VERSION
= $VERSION
69 echo PWLIBDIR
= $PWINSTDIR
70 echo LDFLAGS
= $LDFLAGS
71 echo CCFLAGS
= $CCFLAGS
73 echo MACHTYPE
= $MACHTYPE
75 echo OSRELEASE
= $OSRELEASE
76 echo SHAREDLIBEXT
= $SHAREDLIBEXT
77 echo PREFIX
= $INSTALLPREFIX