Skip to content

Commit 65c7600

Browse files
committed
Remove obsolete PHP_WITH_SHARED M4 macro
This 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 eb76a83 commit 65c7600

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
@@ -64,6 +64,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
6464
- Symbol MISSING_FCLOSE_DECL and M4 macro PHP_MISSING_FCLOSE_DECL removed.
6565
- Symbol HAVE_BSD_ICONV has been removed.
6666
- M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h).
67+
- M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH).
6768

6869
c. Windows build system changes
6970
- 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)