/usr/bin/ptlib-config is in libpt-1.10.10-dev 1.10.10-3.1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | #!/bin/sh
#
# Shamelessly ripped from imlib-config that was
# apparently shamelessly ripped from gtk's gtk-config.in
#
VERSION="1.10.10"
CCFLAGS=" -D_REENTRANT"
LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,def"
LIBS="-lldap -llber -lldap_r -lpthread -lsasl2 -lssl -lcrypto -lexpat -lSDL -lresolv -ldl -lpt -lpt"
LIBDIR="/usr/lib"
PWINSTDIR="/usr/share/pwlib"
MACHTYPE="x86_64"
OSTYPE="linux"
OSRELEASE=""
SHAREDLIBEXT="so"
INSTALLPREFIX="/usr"
# usage="Usage: ptlib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
usage="Usage: ptlib-config [--version] [--pwlibdir] [--ccflags] [--ldflags] [--libs] [--machtype] [--ostype] [--osrelease] [--sharedlibext] [--prefix] [--libdir]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--version)
echo $VERSION
;;
--pwlibdir)
echo $PWINSTDIR
;;
--ldflags)
echo $LDFLAGS
;;
--ccflags)
echo $CCFLAGS
;;
--libs)
echo $LIBS
;;
--machtype)
echo $MACHTYPE
;;
--ostype)
echo $OSTYPE
;;
--osrelease)
echo $OSRELEASE
;;
--sharedlibext)
echo $SHAREDLIBEXT
;;
--prefix)
echo $INSTALLPREFIX
;;
--libdir)
echo $LIBDIR
;;
--all)
echo VERSION = $VERSION
echo PWLIBDIR = $PWINSTDIR
echo LDFLAGS = $LDFLAGS
echo CCFLAGS = $CCFLAGS
echo LIBS = $LIBS
echo MACHTYPE = $MACHTYPE
echo OSTYPE = $OSTYPE
echo OSRELEASE = $OSRELEASE
echo SHAREDLIBEXT = $SHAREDLIBEXT
echo PREFIX = $INSTALLPREFIX
echo LIBDIR = $LIBDIR
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
exit 0
|