|
1 | 1 | ## $Id$ -*- autoconf -*-
|
2 | 2 | dnl ## Process this file with autoconf to produce a configure script.
|
3 | 3 |
|
| 4 | +dnl AC 2.13 Compatibility |
| 5 | +PHP_DIVERT(1) |
| 6 | + |
4 | 7 | dnl include Zend specific macro definitions first
|
5 | 8 | dnl -------------------------------------------------------------------------
|
6 | 9 | sinclude(Zend/acinclude.m4)
|
7 | 10 |
|
8 | 11 | dnl Basic autoconf + automake initialization, generation of config.nice.
|
9 | 12 | dnl -------------------------------------------------------------------------
|
10 | 13 |
|
11 |
| -AC_PREREQ(2.60) |
| 14 | +AC_PREREQ(2.13) |
12 | 15 | AC_INIT(README.SVN-RULES)
|
13 |
| -AC_PRESERVE_HELP_ORDER |
| 16 | +dnl For autoconf 2.60+ we use AC_PRESERVE_HELP_ORDER |
| 17 | +dnl instead of 2.13-style diversions |
| 18 | +ifdef('AC_PRESERVE_HELP_ORDER', [AC_PRESERVE_HELP_ORDER], []) |
14 | 19 |
|
15 | 20 | PHP_CONFIG_NICE(config.nice)
|
16 | 21 |
|
@@ -268,6 +273,9 @@ sinclude(Zend/Zend.m4)
|
268 | 273 | sinclude(TSRM/threads.m4)
|
269 | 274 | sinclude(TSRM/tsrm.m4)
|
270 | 275 |
|
| 276 | +dnl AC 2.13 Compatibility |
| 277 | +PHP_DIVERT(2) |
| 278 | + |
271 | 279 | dnl -------------------------------------------------------------------------
|
272 | 280 |
|
273 | 281 | PTHREADS_CHECK
|
@@ -298,6 +306,9 @@ if test "$enable_maintainer_zts" = "yes"; then
|
298 | 306 | PTHREADS_FLAGS
|
299 | 307 | fi
|
300 | 308 |
|
| 309 | +dnl AC 2.13 Compatibility |
| 310 | +PHP_DIVERT(3) |
| 311 | + |
301 | 312 | dnl Starting system checks.
|
302 | 313 | dnl -------------------------------------------------------------------------
|
303 | 314 |
|
@@ -638,7 +649,8 @@ if test "x$php_crypt_r" = "x1"; then
|
638 | 649 | PHP_CRYPT_R_STYLE
|
639 | 650 | fi
|
640 | 651 |
|
641 |
| -dnl ## In diversion 4 we check user-configurable general settings. |
| 652 | +dnl AC 2.13 Compatibility |
| 653 | +PHP_DIVERT(4) |
642 | 654 |
|
643 | 655 | dnl General settings.
|
644 | 656 | dnl -------------------------------------------------------------------------
|
|
877 | 889 | AC_MSG_RESULT([using system default])
|
878 | 890 | fi
|
879 | 891 |
|
880 |
| -dnl ## In diversion 5 we check which extensions should be compiled. |
881 |
| -dnl ## All of these are normally in the extension directories. |
| 892 | +dnl AC 2.13 Compatibility |
| 893 | +PHP_DIVERT(5) |
882 | 894 |
|
883 | 895 | dnl Extension configuration.
|
884 | 896 | dnl -------------------------------------------------------------------------
|
|
0 commit comments