summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/phpize.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 7a10a369bf..0d89341a75 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -157,6 +157,10 @@ phpize_replace_prefix()
phpize_autotools()
{
+ # Remove aclocal.m4 if present. It is automatically included by autoconf but
+ # not used by the PHP build system since PHP 7.4.
+ rm -f aclocal.m4
+
$PHP_AUTOCONF || exit 1
$PHP_AUTOHEADER || exit 1