xref: /PHP-7.4/scripts/php-config.in (revision 574eaa8e)
1#! /bin/sh
2
3prefix="@prefix@"
4includedir="@includedir@/php"
5includes="-I$includedir -I$includedir/main -I$includedir/Zend"
6if test '@TSRM_DIR@' != ''; then
7    includes="$includes -I$includedir/TSRM"
8fi
9extension_dir='@EXTENSION_DIR@'
10
11case "$1" in
12--prefix)
13	echo $prefix;;
14--includes)
15	echo $includes;;
16--extension-dir)
17	echo $extension_dir;;
18*)
19	echo "Usage: $0 [--prefix|--includes|--extension-dir]"
20	exit 1;;
21esac
22
23exit 0
24