From e71fc7d02db1228b0b493d50d6fa38ece56124fc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 21 Nov 2023 19:48:39 +0100 Subject: [PATCH] Remove unused build variables - LFLAGS - PHP_LIBS - SHARED_LIBTOOL - EXT_LIBS These were part of the build system in the past and are no longer used in current code. --- configure.ac | 6 ------ scripts/phpize.m4 | 2 -- 2 files changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index 342c09eee1098..6e30fff67efe1 100644 --- a/configure.ac +++ b/configure.ac @@ -1516,8 +1516,6 @@ PHP_SUBST(PHP_BINARIES) PHP_SUBST(PHP_MODULES) PHP_SUBST(PHP_ZEND_EX) -PHP_SUBST(EXT_LIBS) - PHP_SUBST_OLD(abs_builddir) PHP_SUBST_OLD(abs_srcdir) @@ -1556,20 +1554,17 @@ PHP_SUBST_OLD(ZEND_EXTRA_LIBS) PHP_SUBST_OLD(INCLUDES) PHP_SUBST_OLD(EXTRA_INCLUDES) PHP_SUBST_OLD(INSTALL_IT) -PHP_SUBST(LFLAGS) PHP_SUBST(LIBTOOL) PHP_SUBST(LN_S) PHP_SUBST_OLD(NATIVE_RPATHS) PHP_SUBST_OLD(PEAR_INSTALLDIR) PHP_SUBST_OLD(PHP_LDFLAGS) -PHP_SUBST_OLD(PHP_LIBS) PHP_SUBST(OVERALL_TARGET) PHP_SUBST(PHP_RPATHS) PHP_SUBST(PHP_SAPI) PHP_SUBST_OLD(PHP_VERSION) PHP_SUBST_OLD(PHP_VERSION_ID) PHP_SUBST(SHELL) -PHP_SUBST(SHARED_LIBTOOL) PHP_SUBST(PHP_FRAMEWORKS) PHP_SUBST(PHP_FRAMEWORKPATH) PHP_SUBST(INSTALL_HEADERS) @@ -1676,7 +1671,6 @@ PHP_SET_LIBTOOL_VARIABLE([--tag CC]) test -z "$PHP_COMPILE" && PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<' test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<' -SHARED_LIBTOOL='$(LIBTOOL)' CC=$old_CC diff --git a/scripts/phpize.m4 b/scripts/phpize.m4 index 616d16420a5a1..ca75c41642dfe 100644 --- a/scripts/phpize.m4 +++ b/scripts/phpize.m4 @@ -204,9 +204,7 @@ PHP_SUBST(PHP_EXECUTABLE) PHP_SUBST(EXTRA_LDFLAGS) PHP_SUBST(EXTRA_LIBS) PHP_SUBST(INCLUDES) -PHP_SUBST(LFLAGS) PHP_SUBST(LDFLAGS) -PHP_SUBST(SHARED_LIBTOOL) PHP_SUBST(LIBTOOL) PHP_SUBST(SHELL) PHP_SUBST(INSTALL_HEADERS)