rasmus Sat, 28 Nov 2009 23:06:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291401
Log:
More work on the autoconf 2.13->2.60+ transition code.
2.13 should be working again with one weird libtool issue
left to solve. It doesn't seem directly related to this
stuff.
Changed paths:
U php/php-src/branches/PHP_5_3/acinclude.m4
U php/php-src/branches/PHP_5_3/configure.in
U php/php-src/branches/PHP_5_3/ext/standard/config.m4
Modified: php/php-src/branches/PHP_5_3/acinclude.m4
===================================================================
--- php/php-src/branches/PHP_5_3/acinclude.m4 2009-11-28 22:38:47 UTC (rev
291400)
+++ php/php-src/branches/PHP_5_3/acinclude.m4 2009-11-28 23:06:54 UTC (rev
291401)
@@ -29,6 +29,10 @@
AC_MSG_RESULT([${T_MD}$1${T_ME}])
])
+AC_DEFUN([PHP_DIVERT],[
+ ifdef('AC_PRESERVE_HELP_ORDER', [], [ divert($1) ] )
+])
+
dnl -------------------------------------------------------------------------
dnl Build system helper macros
dnl -------------------------------------------------------------------------
Modified: php/php-src/branches/PHP_5_3/configure.in
===================================================================
--- php/php-src/branches/PHP_5_3/configure.in 2009-11-28 22:38:47 UTC (rev
291400)
+++ php/php-src/branches/PHP_5_3/configure.in 2009-11-28 23:06:54 UTC (rev
291401)
@@ -1,6 +1,9 @@
## $Id$ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
+dnl AC 2.13 Compatibility
+PHP_DIVERT(1)
+
dnl include Zend specific macro definitions first
dnl -------------------------------------------------------------------------
sinclude(Zend/acinclude.m4)
@@ -8,9 +11,11 @@
dnl Basic autoconf + automake initialization, generation of config.nice.
dnl -------------------------------------------------------------------------
-AC_PREREQ(2.60)
+AC_PREREQ(2.13)
AC_INIT(README.SVN-RULES)
-AC_PRESERVE_HELP_ORDER
+dnl For autoconf 2.60+ we use AC_PRESERVE_HELP_ORDER
+dnl instead of 2.13-style diversions
+ifdef('AC_PRESERVE_HELP_ORDER', [AC_PRESERVE_HELP_ORDER], [])
PHP_CONFIG_NICE(config.nice)
@@ -268,6 +273,9 @@
sinclude(TSRM/threads.m4)
sinclude(TSRM/tsrm.m4)
+dnl AC 2.13 Compatibility
+PHP_DIVERT(2)
+
dnl -------------------------------------------------------------------------
PTHREADS_CHECK
@@ -298,6 +306,9 @@
PTHREADS_FLAGS
fi
+dnl AC 2.13 Compatibility
+PHP_DIVERT(3)
+
dnl Starting system checks.
dnl -------------------------------------------------------------------------
@@ -638,7 +649,8 @@
PHP_CRYPT_R_STYLE
fi
-dnl ## In diversion 4 we check user-configurable general settings.
+dnl AC 2.13 Compatibility
+PHP_DIVERT(4)
dnl General settings.
dnl -------------------------------------------------------------------------
@@ -877,8 +889,8 @@
AC_MSG_RESULT([using system default])
fi
-dnl ## In diversion 5 we check which extensions should be compiled.
-dnl ## All of these are normally in the extension directories.
+dnl AC 2.13 Compatibility
+PHP_DIVERT(5)
dnl Extension configuration.
dnl -------------------------------------------------------------------------
Modified: php/php-src/branches/PHP_5_3/ext/standard/config.m4
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/config.m4 2009-11-28 22:38:47 UTC
(rev 291400)
+++ php/php-src/branches/PHP_5_3/ext/standard/config.m4 2009-11-28 23:06:54 UTC
(rev 291401)
@@ -1,5 +1,8 @@
dnl $Id$ -*- autoconf -*-
+dnl AC 2.13 Compatibility
+PHP_DIVERT(3)
+
dnl
dnl Check if flush should be called explicitly after buffered io
dnl
@@ -218,6 +221,9 @@
AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice
fpclass isinf isnan)
AC_FUNC_FNMATCH
+dnl AC 2.13 Compatibility
+PHP_DIVERT(5)
+
dnl
dnl Check if there is a support means of creating a new process
dnl and defining which handles it receives
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php