Skip to content

Commit 491f147

Browse files
petknikic
authored andcommitted
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.
1 parent 9aeeecc commit 491f147

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PHP_CONFIG_NICE(config.nice)
1616

1717
PHP_CANONICAL_HOST_TARGET
1818

19-
AC_CONFIG_HEADER(main/php_config.h)
19+
AC_CONFIG_HEADERS([main/php_config.h])
2020
AH_TOP([
2121
#ifndef PHP_CONFIG_H
2222
#define PHP_CONFIG_H

scripts/phpize.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,6 @@ PHP_GEN_GLOBAL_MAKEFILE
197197
test -d modules || $php_shtool mkdir modules
198198
touch .deps
199199

200-
AC_CONFIG_HEADER(config.h)
200+
AC_CONFIG_HEADERS([config.h])
201201

202202
AC_OUTPUT()

0 commit comments

Comments
 (0)