php-4.1.2.awn.autoconf-2.52-compat.2.patch
| From: | Andrew W. Nosenko | Date: | Wed, 10 Apr 2002 14:06:25 +0000 |
| Subject: | php-4.1.2.awn.autoconf-2.52-compat.2.patch | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82565@lists.php.net to get a copy of this message | ||
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 (awn@bcs.zp.ua)