|
1 | 1 | ## $Id$ -*- autoconf -*-
|
2 | 2 | dnl ## Process this file with autoconf to produce a configure script.
|
3 | 3 |
|
4 |
| -divert(1001) |
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) |
| 12 | +AC_PRESERVE_HELP_ORDER |
34 | 13 | AC_INIT(README.SVN-RULES)
|
35 | 14 |
|
36 | 15 | PHP_CONFIG_NICE(config.nice)
|
@@ -304,16 +283,6 @@ sinclude(Zend/Zend.m4)
|
304 | 283 | sinclude(TSRM/threads.m4)
|
305 | 284 | sinclude(TSRM/tsrm.m4)
|
306 | 285 |
|
307 |
| - |
308 |
| -divert(1002) |
309 |
| - |
310 |
| -dnl ## Diversion 2 is where we set PHP-specific options and come up |
311 |
| -dnl ## with reasonable default values for them. We check for pthreads here |
312 |
| -dnl ## because the information is needed by the SAPI configuration. |
313 |
| -dnl ## This is also where an SAPI interface is selected (choosing between |
314 |
| -dnl ## Apache module, CGI etc.) |
315 |
| - |
316 |
| -dnl . |
317 | 286 | dnl -------------------------------------------------------------------------
|
318 | 287 |
|
319 | 288 | PTHREADS_CHECK
|
@@ -344,13 +313,6 @@ if test "$enable_maintainer_zts" = "yes"; then
|
344 | 313 | PTHREADS_FLAGS
|
345 | 314 | fi
|
346 | 315 |
|
347 |
| -divert(1003) |
348 |
| - |
349 |
| -dnl ## In diversion 3 we check for compile-time options to the PHP |
350 |
| -dnl ## core and how to deal with different system dependencies. |
351 |
| -dnl ## This includes whether debugging or short tags are enabled |
352 |
| -dnl ## and the default behaviour of php.ini options. |
353 |
| - |
354 | 316 | dnl Starting system checks.
|
355 | 317 | dnl -------------------------------------------------------------------------
|
356 | 318 |
|
@@ -691,8 +653,6 @@ if test "x$php_crypt_r" = "x1"; then
|
691 | 653 | PHP_CRYPT_R_STYLE
|
692 | 654 | fi
|
693 | 655 |
|
694 |
| -divert(1004) |
695 |
| - |
696 | 656 | dnl ## In diversion 4 we check user-configurable general settings.
|
697 | 657 |
|
698 | 658 | dnl General settings.
|
|
932 | 892 | AC_MSG_RESULT([using system default])
|
933 | 893 | fi
|
934 | 894 |
|
935 |
| -divert(1005) |
936 |
| - |
937 | 895 | dnl ## In diversion 5 we check which extensions should be compiled.
|
938 | 896 | dnl ## All of these are normally in the extension directories.
|
939 | 897 |
|
|
0 commit comments