]> granicus.if.org Git - php/commitdiff
the last part of the fix for #39004
authorAntony Dovgal <tony2001@php.net>
Mon, 2 Oct 2006 20:49:13 +0000 (20:49 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 2 Oct 2006 20:49:13 +0000 (20:49 +0000)
acinclude.m4

index f1562795a4794c5a471e34ef14c31cd97c072eb2..d941ab7656d24af1432688b6f82b15d7fd3ac1ad 100644 (file)
@@ -2504,6 +2504,11 @@ EOF
   done
 
   echo "'[$]0' \\" >> $1
+  if test `expr -- [$]0 : "'.*"` = 0; then
+    CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]0'"
+  else 
+    CONFIGURE_COMMAND="$CONFIGURE_COMMAND [$]0"
+  fi
   for arg in $ac_configure_args; do
      if test `expr -- $arg : "'.*"` = 0; then
         if test `expr -- $arg : "--.*"` = 0; then