Skip to content

Commit 6869166

Browse files
authored
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.
1 parent 115c60e commit 6869166

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

UPGRADING.INTERNALS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
6767
- Symbol MISSING_FCLOSE_DECL and M4 macro PHP_MISSING_FCLOSE_DECL removed.
6868
- Symbol HAVE_BSD_ICONV has been removed.
6969
- M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h).
70+
- M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH).
7071

7172
c. Windows build system changes
7273
- The configure options --with-oci8-11g, --with-oci8-12c, --with-oci8-19 have

build/php.m4

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -952,18 +952,6 @@ dnl ---------------------------
952952
fi
953953
])
954954

955-
dnl
956-
dnl PHP_WITH_SHARED
957-
dnl
958-
dnl Checks whether $withval is "shared" or starts with "shared,XXX" and sets
959-
dnl $shared to "yes" or "no", and removes "shared,?" stuff from $withval.
960-
dnl
961-
AC_DEFUN([PHP_WITH_SHARED],[
962-
PHP_ARG_ANALYZE_EX(withval)
963-
shared=$ext_shared
964-
unset ext_shared ext_output
965-
])
966-
967955
dnl
968956
dnl PHP_ADD_EXTENSION_DEP(extname, depends [, depconf])
969957
dnl

0 commit comments

Comments
 (0)