diff options
author | foobar <sniper@php.net> | 2005-11-21 23:08:02 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-11-21 23:08:02 +0000 |
commit | 7243d31ae025ee68fd19dc916f30d0e691a3293e (patch) | |
tree | 099c1835aa8881ab9aaadd8f7d3ec58e69d45b37 /acinclude.m4 | |
parent | 19ea8abd0979399878703c2f894dd82ee96907db (diff) | |
download | php-git-7243d31ae025ee68fd19dc916f30d0e691a3293e.tar.gz |
MFH: - Fixed header installing under phpize builds
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7b8e6a23dd..0cc1ac347f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -973,6 +973,13 @@ dnl ---------------------------------------------- CLI static module EXT_CLI_STATIC="$EXT_CLI_STATIC $1" fi PHP_ADD_BUILD_DIR($ext_builddir) + +dnl Set for phpize builds only +dnl --------------------------- + if test "$ext_builddir" = "."; then + PHP_PECL_EXTENSION=$1 + PHP_SUBST(PHP_PECL_EXTENSION) + fi ]) dnl @@ -2379,7 +2386,7 @@ AC_DEFUN([PHP_INSTALL_HEADERS],[ ifelse([$2],[],[ for header_file in $1; do PHP_RUN_ONCE(INSTALLHEADERS, $header_file, [ - INSTALL_EXT_HEADERS="$INSTALL_EXT_HEADERS $header_file" + INSTALL_HEADERS="$INSTALL_HEADERS $header_file" ]) done ], [ @@ -2387,7 +2394,7 @@ AC_DEFUN([PHP_INSTALL_HEADERS],[ for header_file in $2; do hp_hf="$header_path/$header_file" PHP_RUN_ONCE(INSTALLHEADERS, $hp_hf, [ - INSTALL_EXT_HEADERS="$INSTALL_EXT_HEADERS $hp_hf" + INSTALL_HEADERS="$INSTALL_HEADERS $hp_hf" ]) done ]) |