summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-11 12:58:41 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-11 12:58:41 +0200
commit9bbf9967bd2ae5094e00fc6649d46f6082b44097 (patch)
tree0ae3b84c6e7260737492c4ca7cdc9385a4db40d1
parenta710ceee62680e88e8fe90490c3a91321810fa62 (diff)
downloadphp-git-9bbf9967bd2ae5094e00fc6649d46f6082b44097.tar.gz
Modernize the AC_PRESERVE_HELP_ORDER macro call
The Autoconf AC_PRESERVE_HELP_ORDER macro has been available since Autoconf 2.59c [1] and in PHP it has been called conditionally on two places to support older Autoconf versions. With recent updates and the macro can be called unconditionally. [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
-rw-r--r--configure.ac2
-rw-r--r--scripts/phpize.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 81c7f9ccc3..09cb2706bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,7 @@ dnl -------------------------------------------------------------------------
AC_PREREQ([2.68])
AC_INIT(README.GIT-RULES)
-ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])
+AC_PRESERVE_HELP_ORDER
PHP_CONFIG_NICE(config.nice)
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index 55fa08d7c4..43cae33c2f 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -2,7 +2,7 @@ dnl This file becomes configure.ac for self-contained extensions.
AC_PREREQ([2.68])
AC_INIT(config.m4)
-ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])
+AC_PRESERVE_HELP_ORDER
PHP_CONFIG_NICE(config.nice)