diff options
author | foobar <sniper@php.net> | 2005-08-08 16:06:49 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-08-08 16:06:49 +0000 |
commit | ee5fd96e37a1396e87f8bcfd55ef22a5043a0794 (patch) | |
tree | c53f340d1ec4b9ead6b95534f79ec5bef2d48f7f /scripts/php-config.in | |
parent | 0f2986fe9d53903bfb1bb2b8988055545b5fdb83 (diff) | |
download | php-git-ee5fd96e37a1396e87f8bcfd55ef22a5043a0794.tar.gz |
- Made it possible to do "make test" for phpized extensions
Diffstat (limited to 'scripts/php-config.in')
-rw-r--r-- | scripts/php-config.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/php-config.in b/scripts/php-config.in index a3105dff4d..44ebdce0e2 100644 --- a/scripts/php-config.in +++ b/scripts/php-config.in @@ -1,12 +1,17 @@ #! /bin/sh prefix="@prefix@" +exec_prefix="@exec_prefix@" version="@PHP_VERSION@" includedir="@includedir@/php" includes="-I$includedir -I$includedir/main -I$includedir/TSRM -I$includedir/Zend" ldflags="@PHP_LDFLAGS@" libs="@EXTRA_LIBS@" extension_dir='@EXTENSION_DIR@' +program_prefix="@program_prefix@" +program_suffix="@program_suffix@" +exe_extension="@EXEEXT@" +php_binary="@bindir@/${program_prefix}php${program_suffix}${exe_extension}" case "$1" in --prefix) @@ -19,10 +24,12 @@ case "$1" in echo $libs;; --extension-dir) echo $extension_dir;; +--php-binary) + echo $php_binary;; --version) echo $version;; *) - echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--version]" + echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--php-binary|--version]" exit 1;; esac |