|
|
|
@ -1,28 +1,6 @@ |
|
|
|
## $Id$ -*- autoconf -*- |
|
|
|
dnl ## Process this file with autoconf to produce a configure script. |
|
|
|
|
|
|
|
divert(1) |
|
|
|
|
|
|
|
dnl ## Diversion 1 is the autoconf + automake setup phase. We also |
|
|
|
dnl ## set the PHP version, deal with platform-specific compile |
|
|
|
dnl ## options and check for the basic compile tools. |
|
|
|
|
|
|
|
dnl ## Diversion 2 is the initial checking of OS features, programs, |
|
|
|
dnl ## libraries and so on. |
|
|
|
|
|
|
|
dnl ## In diversion 3 we check for compile-time options to the PHP |
|
|
|
dnl ## core and how to deal with different system dependencies. |
|
|
|
dnl ## This includes whether debugging or short tags are enabled |
|
|
|
dnl ## and the default behaviour of php.ini options. |
|
|
|
dnl ## This is also where an SAPI interface is selected (choosing between |
|
|
|
dnl ## Apache module, CGI etc.) |
|
|
|
|
|
|
|
dnl ## In diversion 4 we check user-configurable general settings. |
|
|
|
|
|
|
|
dnl ## In diversion 5 we check which extensions should be compiled. |
|
|
|
dnl ## All of these are normally in the extension directories. |
|
|
|
dnl ## Diversion 5 is the last one. Here we generate files and clean up. |
|
|
|
|
|
|
|
dnl include Zend specific macro definitions first |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
sinclude(Zend/acinclude.m4) |
|
|
|
@ -30,8 +8,9 @@ sinclude(Zend/acinclude.m4) |
|
|
|
dnl Basic autoconf + automake initialization, generation of config.nice. |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
|
|
|
|
AC_PREREQ(2.13) |
|
|
|
AC_PREREQ(2.60) |
|
|
|
AC_INIT(README.SVN-RULES) |
|
|
|
AC_PRESERVE_HELP_ORDER |
|
|
|
|
|
|
|
PHP_CONFIG_NICE(config.nice) |
|
|
|
|
|
|
|
@ -289,15 +268,6 @@ sinclude(Zend/Zend.m4) |
|
|
|
sinclude(TSRM/threads.m4) |
|
|
|
sinclude(TSRM/tsrm.m4) |
|
|
|
|
|
|
|
|
|
|
|
divert(2) |
|
|
|
|
|
|
|
dnl ## Diversion 2 is where we set PHP-specific options and come up |
|
|
|
dnl ## with reasonable default values for them. We check for pthreads here |
|
|
|
dnl ## because the information is needed by the SAPI configuration. |
|
|
|
dnl ## This is also where an SAPI interface is selected (choosing between |
|
|
|
dnl ## Apache module, CGI etc.) |
|
|
|
|
|
|
|
dnl . |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
|
|
|
|
@ -343,13 +313,6 @@ if test "$enable_maintainer_zts" = "yes"; then |
|
|
|
PTHREADS_FLAGS |
|
|
|
fi |
|
|
|
|
|
|
|
divert(3) |
|
|
|
|
|
|
|
dnl ## In diversion 3 we check for compile-time options to the PHP |
|
|
|
dnl ## core and how to deal with different system dependencies. |
|
|
|
dnl ## This includes whether debugging or short tags are enabled |
|
|
|
dnl ## and the default behaviour of php.ini options. |
|
|
|
|
|
|
|
dnl Starting system checks. |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
|
|
|
|
@ -689,10 +652,6 @@ if test "x$php_crypt_r" = "x1"; then |
|
|
|
PHP_CRYPT_R_STYLE |
|
|
|
fi |
|
|
|
|
|
|
|
divert(4) |
|
|
|
|
|
|
|
dnl ## In diversion 4 we check user-configurable general settings. |
|
|
|
|
|
|
|
dnl General settings. |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
PHP_CONFIGURE_PART(General settings) |
|
|
|
@ -927,11 +886,6 @@ else |
|
|
|
AC_MSG_RESULT([using system default]) |
|
|
|
fi |
|
|
|
|
|
|
|
divert(5) |
|
|
|
|
|
|
|
dnl ## In diversion 5 we check which extensions should be compiled. |
|
|
|
dnl ## All of these are normally in the extension directories. |
|
|
|
|
|
|
|
dnl Extension configuration. |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|