mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
24 lines
427 B
Bash
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
|