Skip to content

Commit 3aeb7b0

Browse files
committed
Remove deprecated PHP_EXTENSION m4 macro
The PHP_EXTENSION macro was used before the introduction of the updated build system in the 9d9d39a. The extensions at that time possibly still used the Makefile.in and Automake and the PHP_EXTENSION macro has been replaced with the PHP_NEW_EXTENSION macro. Today, the once deprecated macro can be removed in favor of only PHP_NEW_EXTENSION macro.
1 parent 94d3e40 commit 3aeb7b0

File tree

4 files changed

+1
-45
lines changed

4 files changed

+1
-45
lines changed

acinclude.m4

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -886,17 +886,6 @@ AC_DEFUN([PHP_SELECT_SAPI],[
886886
])
887887
])
888888

889-
dnl deprecated
890-
AC_DEFUN([PHP_EXTENSION],[
891-
sources=`$AWK -f $abs_srcdir/build/scan_makefile_in.awk < []PHP_EXT_SRCDIR($1)[]/Makefile.in`
892-
893-
PHP_NEW_EXTENSION($1, $sources, $2, $3)
894-
895-
if test -r "$ext_srcdir/Makefile.frag"; then
896-
PHP_ADD_MAKEFILE_FRAGMENT
897-
fi
898-
])
899-
900889
AC_DEFUN([PHP_ADD_BUILD_DIR],[
901890
ifelse($2,,[
902891
BUILD_DIR="$BUILD_DIR $1"

build/scan_makefile_in.awk

Lines changed: 0 additions & 32 deletions
This file was deleted.

scripts/Makefile.frag

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ phpbuilddir = $(libdir)/build
77

88
BUILD_FILES = \
99
scripts/phpize.m4 \
10-
build/scan_makefile_in.awk \
1110
build/libtool.m4 \
1211
build/ltmain.sh \
1312
build/ax_check_compile_flag.m4 \

scripts/phpize.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ includedir="`eval echo @includedir@`/php"
99
builddir="`pwd`"
1010
SED="@SED@"
1111

12-
FILES_BUILD="scan_makefile_in.awk shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 pkg.m4 config.guess config.sub ltmain.sh"
12+
FILES_BUILD="shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 pkg.m4 config.guess config.sub ltmain.sh"
1313
FILES="acinclude.m4 Makefile.global run-tests*.php"
1414
CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ install-sh \
1515
mkinstalldirs missing config.nice configure configure.ac \

0 commit comments

Comments
 (0)