Skip to content

Commit 24638bc

Browse files
committed
Remove obsolete PHP_WITH_SHARED M4 macro
This is obsolete in favor of the PHP_ARG_ANALYZE 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 250547c commit 24638bc

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
@@ -63,6 +63,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
6363
- Symbol DARWIN has been removed (use __APPLE__ to target Darwin systems).
6464
- Symbol MISSING_FCLOSE_DECL and M4 macro PHP_MISSING_FCLOSE_DECL removed.
6565
- Symbol HAVE_BSD_ICONV has been removed.
66+
- M4 macro PHP_WITH_SHARED has been removed.
6667

6768
c. Windows build system changes
6869
- 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
@@ -965,18 +965,6 @@ dnl ---------------------------
965965
fi
966966
])
967967

968-
dnl
969-
dnl PHP_WITH_SHARED
970-
dnl
971-
dnl Checks whether $withval is "shared" or starts with "shared,XXX" and sets
972-
dnl $shared to "yes" or "no", and removes "shared,?" stuff from $withval.
973-
dnl
974-
AC_DEFUN([PHP_WITH_SHARED],[
975-
PHP_ARG_ANALYZE_EX(withval)
976-
shared=$ext_shared
977-
unset ext_shared ext_output
978-
])
979-
980968
dnl
981969
dnl PHP_ADD_EXTENSION_DEP(extname, depends [, depconf])
982970
dnl

0 commit comments

Comments
 (0)