From eeda485cfac356c57060e97c3f9f41e011e67048 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 1 Sep 2024 23:48:16 +0200 Subject: [PATCH 1/2] Autotools: Add libtool --silent option to phpize When building PHP extensions with phpize there is a lot of additional log output done by libtool in the make step that cannot be turned off. This syncs the php-src build and phpize by enabling the Libtool --silent option. --- NEWS | 1 + UPGRADING.INTERNALS | 1 + scripts/phpize.m4 | 2 ++ 3 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index c40044b36c807..12d81586e5de4 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ PHP NEWS . Implemented lazy objects RFC. (Arnaud) . Fixed bug GH-15686 (Building shared iconv with external iconv library). (Peter Kokot, zeriyoshi) + . The Libtool --silent option is set to on in phpize. (Peter Kokot) - DOM: . Fixed bug GH-13988 (Storing DOMElement consume 4 times more memory in diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index c3b49d9d888fc..343a723b3d7ab 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -221,6 +221,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - ac_cv_write_stdout -> php_cv_have_write_stdout and all other checks wrapped with their belonging cache variables (see *.m4 source files for details). + - The libtool now has the --silent option set in phpize as in php-src. c. Windows build system changes - The configure options --with-oci8-11g, --with-oci8-12c, --with-oci8-19, diff --git a/scripts/phpize.m4 b/scripts/phpize.m4 index e59a1c03a5789..24751382939e3 100644 --- a/scripts/phpize.m4 +++ b/scripts/phpize.m4 @@ -153,6 +153,8 @@ AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [ ]) AC_PROG_LIBTOOL +PHP_SET_LIBTOOL_VARIABLE([--silent]) + all_targets='$(PHP_MODULES) $(PHP_ZEND_EX)' install_targets="install-modules install-headers" CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H" From 60908235b31cf9f87c5b1bfce55567fef5ee68bf Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 2 Sep 2024 19:33:58 +0200 Subject: [PATCH 2/2] [skip ci] Remove NEWS entry --- NEWS | 1 - 1 file changed, 1 deletion(-) diff --git a/NEWS b/NEWS index 12d81586e5de4..c40044b36c807 100644 --- a/NEWS +++ b/NEWS @@ -12,7 +12,6 @@ PHP NEWS . Implemented lazy objects RFC. (Arnaud) . Fixed bug GH-15686 (Building shared iconv with external iconv library). (Peter Kokot, zeriyoshi) - . The Libtool --silent option is set to on in phpize. (Peter Kokot) - DOM: . Fixed bug GH-13988 (Storing DOMElement consume 4 times more memory in