mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
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.
This commit is contained in:
parent
8d169e42de
commit
7cdd773081
3 changed files with 27 additions and 5 deletions
|
@ -29,6 +29,10 @@ AC_DEFUN([PHP_CONFIGURE_PART],[
|
|||
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 -------------------------------------------------------------------------
|
||||
|
|
22
configure.in
22
configure.in
|
@ -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 @@ sinclude(Zend/acinclude.m4)
|
|||
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(Zend/Zend.m4)
|
|||
sinclude(TSRM/threads.m4)
|
||||
sinclude(TSRM/tsrm.m4)
|
||||
|
||||
dnl AC 2.13 Compatibility
|
||||
PHP_DIVERT(2)
|
||||
|
||||
dnl -------------------------------------------------------------------------
|
||||
|
||||
PTHREADS_CHECK
|
||||
|
@ -298,6 +306,9 @@ if test "$enable_maintainer_zts" = "yes"; then
|
|||
PTHREADS_FLAGS
|
||||
fi
|
||||
|
||||
dnl AC 2.13 Compatibility
|
||||
PHP_DIVERT(3)
|
||||
|
||||
dnl Starting system checks.
|
||||
dnl -------------------------------------------------------------------------
|
||||
|
||||
|
@ -638,7 +649,8 @@ if test "x$php_crypt_r" = "x1"; then
|
|||
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 @@ else
|
|||
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 -------------------------------------------------------------------------
|
||||
|
|
|
@ -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 @@ dnl
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue