php-src/pear/php-config.in
2000-07-24 23:55:34 +00:00

24 lines
427 B
Bash

#! /bin/sh
prefix='@prefix@'
includedir='@includedir@/php'
includes="-I$includedir -I$includedir/main -I$includedir/Zend"
if test '@TSRM_DIR@' != ''; then
includes="$includes -I$includedir/TSRM"
fi
extension_dir='@EXTENSION_DIR@'
case "$1" in
--prefix)
echo $prefix;;
--includes)
echo $includes;;
--extension-dir)
echo $extension_dir;;
*)
echo "Usage: $0 [--prefix|--includes|--extension-dir]"
exit 1;;
esac
exit 0