mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
9aeeecc47c
commit
491f1477be
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue