From 686916652e80f60f893baa30d58e60861be191ec Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 13 Feb 2024 19:37:16 +0100 Subject: [PATCH] Remove obsolete PHP_WITH_SHARED M4 macro (#13380) This macro is obsolete in favor of the PHP_ARG_WITH macro. It was once used in combination with the AC_ARG_WITH macro to determine, whether the extension has been configured as shared. --- UPGRADING.INTERNALS | 1 + build/php.m4 | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 975bdc4d632..4c2417fc380 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -67,6 +67,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - Symbol MISSING_FCLOSE_DECL and M4 macro PHP_MISSING_FCLOSE_DECL removed. - Symbol HAVE_BSD_ICONV has been removed. - M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h). + - M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH). c. Windows build system changes - The configure options --with-oci8-11g, --with-oci8-12c, --with-oci8-19 have diff --git a/build/php.m4 b/build/php.m4 index e7f9e55a380..a2b36bf4d43 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -952,18 +952,6 @@ dnl --------------------------- fi ]) -dnl -dnl PHP_WITH_SHARED -dnl -dnl Checks whether $withval is "shared" or starts with "shared,XXX" and sets -dnl $shared to "yes" or "no", and removes "shared,?" stuff from $withval. -dnl -AC_DEFUN([PHP_WITH_SHARED],[ - PHP_ARG_ANALYZE_EX(withval) - shared=$ext_shared - unset ext_shared ext_output -]) - dnl dnl PHP_ADD_EXTENSION_DEP(extname, depends [, depconf]) dnl