diff options
author | foobar <sniper@php.net> | 2003-01-28 10:59:12 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-01-28 10:59:12 +0000 |
commit | 20c43285f78f745f88faf70062b04ed26a8c3c11 (patch) | |
tree | 6572fbdd36b5ba7202debca5cc7dfd1ef67d2901 /scripts/php-config.in | |
parent | 41d6e9af8daadf1ce16dcbbbe085452e38d17618 (diff) | |
download | php-git-20c43285f78f745f88faf70062b04ed26a8c3c11.tar.gz |
- Fixed bug: #13561 (--without-pear prevents install of phpize, php-config)
Diffstat (limited to 'scripts/php-config.in')
-rw-r--r-- | scripts/php-config.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/php-config.in b/scripts/php-config.in new file mode 100644 index 0000000000..abdab2ce0e --- /dev/null +++ b/scripts/php-config.in @@ -0,0 +1,32 @@ +#! /bin/sh + +prefix="@prefix@" +version="@PHP_VERSION@" +includedir="@includedir@/php" +includes="-I$includedir -I$includedir/main -I$includedir/Zend" +ldflags="@PHP_LDFLAGS@" +libs="@EXTRA_LIBS@" +if test '@TSRM_DIR@' != ''; then + includes="$includes -I$includedir/TSRM" +fi +extension_dir='@EXTENSION_DIR@' + +case "$1" in +--prefix) + echo $prefix;; +--includes) + echo $includes;; +--ldflags) + echo $ldflags;; +--libs) + echo $libs;; +--extension-dir) + echo $extension_dir;; +--version) + echo $version;; +*) + echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--version]" + exit 1;; +esac + +exit 0 |