From 491f1477bea49e4ccd499664d17d35efb06d0912 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 5 Jul 2018 03:06:06 +0200 Subject: [PATCH] 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. --- configure.ac | 2 +- scripts/phpize.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a2445a5a8f..178a0893c0 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 1094e2812c..9609b181eb 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() -- 2.49.0