php-src/pear/scripts/php-config.in
Stig Bakken 6792978aed * updated copyrights (thanks Colin)
* moved scripts to own directory (bug #7635)
2001-01-10 01:01:59 +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