diff options
author | foobar <sniper@php.net> | 2005-07-07 23:18:22 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-07-07 23:18:22 +0000 |
commit | 71d28a82cf9571619a7a2ef1ff2e1c75307b6757 (patch) | |
tree | dd9aa2b61b576324539d07c640c4fcc619fd169a /acinclude.m4 | |
parent | b2141b04d2d9e40c6b6dde8e5788c61e28dbd30d (diff) | |
download | php-git-71d28a82cf9571619a7a2ef1ff2e1c75307b6757.tar.gz |
- Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
- ext/date/lib/timelib_config.h is also installed now
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 8a24f9a8a6..c3a9a0a40f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2366,21 +2366,21 @@ dnl dnl PHP header files to be installed dnl AC_DEFUN([PHP_INSTALL_HEADERS],[ - if test -z "$2"; then - for header_file in "$1"; do + ifelse([$2],[],[ + for header_file in $1; do PHP_RUN_ONCE(INSTALLHEADERS, $header_file, [ INSTALL_EXT_HEADERS="$INSTALL_EXT_HEADERS $header_file" ]) done - else + ], [ header_path=$1 - for header_file in "$2"; do + for header_file in $2; do hp_hf="$header_path/$header_file" PHP_RUN_ONCE(INSTALLHEADERS, $hp_hf, [ - INSTALL_EXT_HEADERS="$INSTALL_EXT_HEADERS $header_path/$header_file" + INSTALL_EXT_HEADERS="$INSTALL_EXT_HEADERS $hp_hf" ]) done - fi + ]) ]) dnl |