1999-12-30 10:59:53 +08:00
|
|
|
#! /bin/sh
|
|
|
|
|
2001-01-09 15:28:27 +08:00
|
|
|
prefix="@prefix@"
|
2002-05-09 20:06:44 +08:00
|
|
|
version="@PHP_VERSION@"
|
2001-01-09 15:28:27 +08:00
|
|
|
includedir="@includedir@/php"
|
2000-07-25 07:55:34 +08:00
|
|
|
includes="-I$includedir -I$includedir/main -I$includedir/Zend"
|
2002-09-29 05:58:19 +08:00
|
|
|
libs="@EXTRA_LIBS@"
|
2000-07-25 07:55:34 +08:00
|
|
|
if test '@TSRM_DIR@' != ''; then
|
|
|
|
includes="$includes -I$includedir/TSRM"
|
|
|
|
fi
|
2000-05-03 04:56:03 +08:00
|
|
|
extension_dir='@EXTENSION_DIR@'
|
1999-12-30 10:59:53 +08:00
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
--prefix)
|
|
|
|
echo $prefix;;
|
|
|
|
--includes)
|
|
|
|
echo $includes;;
|
2002-09-29 05:58:19 +08:00
|
|
|
--libs)
|
|
|
|
echo $libs;;
|
2000-05-03 04:56:03 +08:00
|
|
|
--extension-dir)
|
|
|
|
echo $extension_dir;;
|
2001-08-13 15:58:29 +08:00
|
|
|
--version)
|
|
|
|
echo $version;;
|
1999-12-30 10:59:53 +08:00
|
|
|
*)
|
2002-09-29 05:58:19 +08:00
|
|
|
echo "Usage: $0 [--prefix|--includes|--libs|--extension-dir|--version]"
|
1999-12-30 10:59:53 +08:00
|
|
|
exit 1;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|