com php-src: Replace AC_CONFIG_HEADER with AC_CONFIG _HEADERS: configure.ac scripts/phpize.m4
| From: | Nikita Popov | Date: | Sat, 07 Jul 2018 10:10:53 +0000 |
| Subject: | com php-src: Replace AC_CONFIG_HEADER with AC_CONFIG _HEADERS: configure.ac scripts/phpize.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102468@lists.php.net to get a copy of this message | ||
Commit: 491f1477bea49e4ccd499664d17d35efb06d0912
Author: Peter Kokot <peterkokot@gmail.com> Thu, 5 Jul 2018 03:06:06 +0200
Committer: Nikita Popov <nikita.ppv@gmail.com> Sat, 7 Jul 2018 12:10:53 +0200
Parents: 9aeeecc47c58b130bb146676649e0c721150f9c7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=491f1477bea49e4ccd499664d17d35efb06d0912
Log:
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS
Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13
released in 1999 anywhere in the documentation. Future of this macro is
unclear and commented as possible candidate for obsoletion in the
autoconf source code. Since it is just a wrapper around the main
AC_CONFIG_HEADERS macro, the functionality is the same, and also more
clear to find it in the autoconf documentation and avoid possible future
obsoletion.
Changed paths:
M configure.ac
M scripts/phpize.m4
Diff:
diff --git a/configure.ac b/configure.ac
index a2445a5..178a089 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ PHP_CONFIG_NICE(config.nice)
PHP_CANONICAL_HOST_TARGET
-AC_CONFIG_HEADER(main/php_config.h)
+AC_CONFIG_HEADERS([main/php_config.h])
AH_TOP([
#ifndef PHP_CONFIG_H
#define PHP_CONFIG_H
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index 1094e28..9609b18 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -197,6 +197,6 @@ PHP_GEN_GLOBAL_MAKEFILE
test -d modules || $php_shtool mkdir modules
touch .deps
-AC_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config..h])
AC_OUTPUT()