diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-07-11 02:02:01 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-07-11 02:02:01 +0200 |
commit | 1a935e266219aaeff17f0b48994be52cad12724a (patch) | |
tree | 634cc31f57ab2c5f6bde2a11aac744f7f63ce29d /scripts | |
parent | f99adb4bb5aab0ea059cf346eec49ea23f4e5da0 (diff) | |
parent | a6daded1a4b7d715d9b1585fe9df269ca73e2bac (diff) | |
download | php-git-1a935e266219aaeff17f0b48994be52cad12724a.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Refactor undefining PACKAGE_* symbols
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/phpize.in | 4 | ||||
-rw-r--r-- | scripts/phpize.m4 | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in index 0d89341a75..04864733ae 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -163,10 +163,6 @@ phpize_autotools() $PHP_AUTOCONF || exit 1 $PHP_AUTOHEADER || exit 1 - - # Disable PACKAGE_* symbols in config.h.in - $SED -e 's/^#undef PACKAGE_[^ ]*/\/\* & \*\//g' < config.h.in > config.h.in.tmp - mv config.h.in.tmp config.h.in } # Main script 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 |