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

index f22f18cf7d973a2701d4a440dc9071909f26a019..5cca7198740f6f2ac0c332e3aa6af9615aef2c6c 100644 (file)
@@ -569,6 +569,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