Compatibility with autoconf-2.52, part #2.
This code is in question...
I don't sure about is this right solution, but work for me...

Patch created around php-4.1.2 tarball.


--- configure.in-       Wed Apr 10 13:55:45 2002
+++ configure.in        Wed Apr 10 15:44:33 2002
@@ -939,7 +939,13 @@
 
 AC_OUTPUT($ALL_OUTPUT_FILES, [], [
 
-if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES"; then
+# For autoconf-2.13
+CONFIG_FILES_LTRIMMED=\`echo "\$CONFIG_FILES" | sed 's,^ *\(.*\),\1,'\`
+# For autoconf-2.52
+config_files_ltrimmed=\`echo "\$config_files" | sed 's,^ *\(.*\),\1,'\`
+
+if test "\$CONFIG_FILES_LTRIMMED" = "$ALL_OUTPUT_FILES" \
+        -o "\$config_files_ltrimmed" = "$ALL_OUTPUT_FILES"; then
   REDO_ALL=yes
 fi
 

-- 
Andrew W. Nosenko    ([EMAIL PROTECTED])

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to