tony2001                Mon Oct  2 19:17:53 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    acinclude.m4 
  Log:
  fix the fix for #39004
  
  
http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.332.2.14.2.3&r2=1.332.2.14.2.4&diff_format=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.332.2.14.2.3 php-src/acinclude.m4:1.332.2.14.2.4
--- php-src/acinclude.m4:1.332.2.14.2.3 Mon Oct  2 15:34:38 2006
+++ php-src/acinclude.m4        Mon Oct  2 19:17:53 2006
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: acinclude.m4,v 1.332.2.14.2.3 2006/10/02 15:34:38 iliaa Exp $
+dnl $Id: acinclude.m4,v 1.332.2.14.2.4 2006/10/02 19:17:53 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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to