summaryrefslogtreecommitdiff
path: root/pear/php-config.in
blob: ccd29e7c39dfe346b37c4536d9af4368ee5dd2c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /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