diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-07-11 02:00:51 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-07-11 02:00:51 +0200 |
commit | a6daded1a4b7d715d9b1585fe9df269ca73e2bac (patch) | |
tree | f08e3176c249071793c35fdc76568c3e870d3a0b /scripts/phpize.m4 | |
parent | d63fdced2e9bc2aa6c0e07958b8991e7f222de50 (diff) | |
download | php-git-a6daded1a4b7d715d9b1585fe9df269ca73e2bac.tar.gz |
Refactor undefining PACKAGE_* symbols
Instead of patching configuration headers template generated by
the given tools - autoheader, this moves patching these symbols to
the configure step before creating and invoking the config.status
and before the configuration header file is generated from the
patched template.
Closes GH-4374
Diffstat (limited to 'scripts/phpize.m4')
-rw-r--r-- | scripts/phpize.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4 index f583a52146..cdd0e12989 100644 --- a/scripts/phpize.m4 +++ b/scripts/phpize.m4 @@ -210,4 +210,6 @@ test -d modules || $php_shtool mkdir modules AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_COMMANDS_PRE([PHP_PATCH_CONFIG_HEADERS([config.h.in])]) + AC_OUTPUT |