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.
This commit is contained in:
Peter Kokot 2018-07-05 03:06:06 +02:00 committed by Nikita Popov
parent 9aeeecc47c
commit 491f1477be
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ PHP_CONFIG_NICE(config.nice)
PHP_CANONICAL_HOST_TARGET PHP_CANONICAL_HOST_TARGET
AC_CONFIG_HEADER(main/php_config.h) AC_CONFIG_HEADERS([main/php_config.h])
AH_TOP([ AH_TOP([
#ifndef PHP_CONFIG_H #ifndef PHP_CONFIG_H
#define PHP_CONFIG_H #define PHP_CONFIG_H

View file

@ -197,6 +197,6 @@ PHP_GEN_GLOBAL_MAKEFILE
test -d modules || $php_shtool mkdir modules test -d modules || $php_shtool mkdir modules
touch .deps touch .deps
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADERS([config.h])
AC_OUTPUT() AC_OUTPUT()