jani Sat, 13 Nov 2010 22:51:11 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305330
Log: - Using ifelse() here is safer, also eases debugging generated configure. Changed paths: U php/php-src/branches/PHP_5_3/acinclude.m4 Modified: php/php-src/branches/PHP_5_3/acinclude.m4 =================================================================== --- php/php-src/branches/PHP_5_3/acinclude.m4 2010-11-13 22:22:51 UTC (rev 305329) +++ php/php-src/branches/PHP_5_3/acinclude.m4 2010-11-13 22:51:11 UTC (rev 305330) @@ -711,10 +711,7 @@ 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 @@ 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) ])
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php