cvs: php-src / acinclude.m4

From: Date: Mon, 02 Oct 2006 19:17:43 +0000
Subject: cvs: php-src / acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40835@lists.php.net to get a copy of this message
tony2001 Mon Oct 2 19:17:43 2006 UTC Modified files: /php-src acinclude.m4 Log: fix the fix for #39004 http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.348&r2=1.349&diff_format=u Index: php-src/acinclude.m4 diff -u php-src/acinclude.m4:1.348 php-src/acinclude.m4:1.349 --- php-src/acinclude.m4:1.348 Mon Oct 2 15:34:56 2006 +++ php-src/acinclude.m4 Mon Oct 2 19:17:43 2006 @@ -1,5 +1,5 @@ dnl -dnl $Id: acinclude.m4,v 1.348 2006/10/02 15:34:56 iliaa Exp $ +dnl $Id: acinclude.m4,v 1.349 2006/10/02 19:17:43 tony2001 Exp $ dnl dnl This file contains local autoconf functions. dnl @@ -2503,16 +2503,16 @@ fi done - echo "'[$]0'" >> $1 + echo "'[$]0' \\" >> $1 for arg in $ac_configure_args; do - if test expr substr $arg 1 1 != "'"; then - if test expr substr $arg 1 2 != '--'; then + if test expr -- $arg : "'.*" = 0; then + if test expr -- $arg : "--.*" = 0; then break; fi echo "'[$]arg' \\" >> $1 CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]arg'" else - if test expr substr $arg 2 2 != '--'; then + if test expr -- $arg : "'--.*" = 0; then break; fi echo "[$]arg \\" >> $1

« previous php.cvs (#40835) next »