|
1 | 1 | ## $Id$ -*- autoconf -*- |
2 | 2 | dnl ## Process this file with autoconf to produce a configure script. |
3 | 3 |
|
4 | | -divert(1) |
5 | | - |
6 | | -dnl ## Diversion 1 is the autoconf + automake setup phase. We also |
7 | | -dnl ## set the PHP version, deal with platform-specific compile |
8 | | -dnl ## options and check for the basic compile tools. |
9 | | - |
10 | | -dnl ## Diversion 2 is the initial checking of OS features, programs, |
11 | | -dnl ## libraries and so on. |
12 | | - |
13 | | -dnl ## In diversion 3 we check for compile-time options to the PHP |
14 | | -dnl ## core and how to deal with different system dependencies. |
15 | | -dnl ## This includes whether debugging or short tags are enabled |
16 | | -dnl ## and the default behaviour of php.ini options. |
17 | | -dnl ## This is also where an SAPI interface is selected (choosing between |
18 | | -dnl ## Apache module, CGI etc.) |
19 | | - |
20 | | -dnl ## In diversion 4 we check user-configurable general settings. |
21 | | - |
22 | | -dnl ## In diversion 5 we check which extensions should be compiled. |
23 | | -dnl ## All of these are normally in the extension directories. |
24 | | -dnl ## Diversion 5 is the last one. Here we generate files and clean up. |
25 | | - |
26 | 4 | dnl include Zend specific macro definitions first |
27 | 5 | dnl ------------------------------------------------------------------------- |
28 | 6 | sinclude(Zend/acinclude.m4) |
29 | 7 |
|
30 | 8 | dnl Basic autoconf + automake initialization, generation of config.nice. |
31 | 9 | dnl ------------------------------------------------------------------------- |
32 | 10 |
|
33 | | -AC_PREREQ(2.13) |
| 11 | +AC_PREREQ(2.60) |
34 | 12 | AC_INIT(README.SVN-RULES) |
| 13 | +AC_PRESERVE_HELP_ORDER |
35 | 14 |
|
36 | 15 | PHP_CONFIG_NICE(config.nice) |
37 | 16 |
|
@@ -289,15 +268,6 @@ sinclude(Zend/Zend.m4) |
289 | 268 | sinclude(TSRM/threads.m4) |
290 | 269 | sinclude(TSRM/tsrm.m4) |
291 | 270 |
|
292 | | - |
293 | | -divert(2) |
294 | | - |
295 | | -dnl ## Diversion 2 is where we set PHP-specific options and come up |
296 | | -dnl ## with reasonable default values for them. We check for pthreads here |
297 | | -dnl ## because the information is needed by the SAPI configuration. |
298 | | -dnl ## This is also where an SAPI interface is selected (choosing between |
299 | | -dnl ## Apache module, CGI etc.) |
300 | | - |
301 | 271 | dnl . |
302 | 272 | dnl ------------------------------------------------------------------------- |
303 | 273 |
|
@@ -343,13 +313,6 @@ if test "$enable_maintainer_zts" = "yes"; then |
343 | 313 | PTHREADS_FLAGS |
344 | 314 | fi |
345 | 315 |
|
346 | | -divert(3) |
347 | | - |
348 | | -dnl ## In diversion 3 we check for compile-time options to the PHP |
349 | | -dnl ## core and how to deal with different system dependencies. |
350 | | -dnl ## This includes whether debugging or short tags are enabled |
351 | | -dnl ## and the default behaviour of php.ini options. |
352 | | - |
353 | 316 | dnl Starting system checks. |
354 | 317 | dnl ------------------------------------------------------------------------- |
355 | 318 |
|
@@ -689,10 +652,6 @@ if test "x$php_crypt_r" = "x1"; then |
689 | 652 | PHP_CRYPT_R_STYLE |
690 | 653 | fi |
691 | 654 |
|
692 | | -divert(4) |
693 | | - |
694 | | -dnl ## In diversion 4 we check user-configurable general settings. |
695 | | - |
696 | 655 | dnl General settings. |
697 | 656 | dnl ------------------------------------------------------------------------- |
698 | 657 | PHP_CONFIGURE_PART(General settings) |
@@ -927,11 +886,6 @@ else |
927 | 886 | AC_MSG_RESULT([using system default]) |
928 | 887 | fi |
929 | 888 |
|
930 | | -divert(5) |
931 | | - |
932 | | -dnl ## In diversion 5 we check which extensions should be compiled. |
933 | | -dnl ## All of these are normally in the extension directories. |
934 | | - |
935 | 889 | dnl Extension configuration. |
936 | 890 | dnl ------------------------------------------------------------------------- |
937 | 891 |
|
|
0 commit comments