diff options
| author | Jani Taskinen <jani@php.net> | 2010-11-13 22:51:11 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2010-11-13 22:51:11 +0000 |
| commit | e0858b424a6bc876d274052b04e3820a955a9592 (patch) | |
| tree | 8398697a7242d5e9060798dcb1cc5cd6e9f628ff /acinclude.m4 | |
| parent | a0ccf0f14a630f9e806e8fbcae0d0dce875aac81 (diff) | |
| download | php-git-e0858b424a6bc876d274052b04e3820a955a9592.tar.gz | |
- Using ifelse() here is safer, also eases debugging generated configure.
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 2d5d57132c..a94dd6c23b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -711,10 +711,7 @@ ifelse([$2],,,[AC_MSG_CHECKING([$2])]) AC_ARG_WITH($1,[$3],$5=[$]withval, [ $5=ifelse($4,,no,$4) - - if test "$PHP_ENABLE_ALL" && test "$6" = "yes"; then - $5=$PHP_ENABLE_ALL - fi + ifelse($6,yes,[test "$PHP_ENABLE_ALL" && $5=$PHP_ENABLE_ALL]) ]) PHP_ARG_ANALYZE($5,[$2],$6) ]) @@ -739,10 +736,7 @@ ifelse([$2],,,[AC_MSG_CHECKING([$2])]) AC_ARG_ENABLE($1,[$3],$5=[$]enableval, [ $5=ifelse($4,,no,$4) - - if test "$PHP_ENABLE_ALL" && test "$6" = "yes"; then - $5=$PHP_ENABLE_ALL - fi + ifelse($6,yes,[test "$PHP_ENABLE_ALL" && $5=$PHP_ENABLE_ALL]) ]) PHP_ARG_ANALYZE($5,[$2],$6) ]) |
