com php-src: Modernize the AC_PRESERVE_HELP_ORDER macro call: configure.ac scripts/phpize.m4
| From: | Peter Kokot | Date: | Thu, 11 Oct 2018 10:58:41 +0000 |
| Subject: | com php-src: Modernize the AC_PRESERVE_HELP_ORDER macro call: configure.ac scripts/phpize.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103432@lists.php.net to get a copy of this message | ||
Commit: 9bbf9967bd2ae5094e00fc6649d46f6082b44097
Author: Peter Kokot <peterkokot@gmail.com> Thu, 11 Oct 2018 12:58:41 +0200
Parents: a710ceee62680e88e8fe90490c3a91321810fa62
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9bbf9967bd2ae5094e00fc6649d46f6082b44097
Log:
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
Changed paths:
M configure.ac
M scripts/phpize.m4
Diff:
diff --git a/configure.ac b/configure.ac
index 81c7f9c..09cb270 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 55fa08d..43cae33 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)