com php-src: Remove deprecated PHP_EXTENSION m4 macro : acinclude.m4 build/scan_makefile_in.awk scr ipts/Makefile.frag scripts/phpize.in

From: Date: Wed, 27 Feb 2019 19:12:53 +0000
Subject: com php-src: Remove deprecated PHP_EXTENSION m4 macro : acinclude.m4 build/scan_makefile_in.awk scr ipts/Makefile.frag scripts/phpize.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104875@lists.php.net to get a copy of this message
Commit: 3aeb7b0e77c1411962f779fef6baa43cc41905c7 Author: Peter Kokot <peterkokot@gmail.com> Sun, 24 Feb 2019 00:35:36 +0100 Parents: 94d3e4010217a19b0d0e44099b8a075aec307c0f Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3aeb7b0e77c1411962f779fef6baa43cc41905c7 Log: Remove deprecated PHP_EXTENSION m4 macro The PHP_EXTENSION macro was used before the introduction of the updated build system in the 9d9d39a0de3bec962c343051011f5a2ed7d7b242. 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. Changed paths: M acinclude.m4 D build/scan_makefile_in.awk M scripts/Makefile.frag M scripts/phpize.in Diff: diff --git a/acinclude.m4 b/acinclude.m4 index 75b6167..69d1638 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -886,17 +886,6 @@ AC_DEFUN([PHP_SELECT_SAPI],[ ]) ]) -dnl deprecated -AC_DEFUN([PHP_EXTENSION],[ - sources=$AWK -f $abs_srcdir/build/scan_makefile_in.awk < []PHP_EXT_SRCDIR($1)[]/Makefile.in - - PHP_NEW_EXTENSION($1, $sources, $2, $3) - - if test -r "$ext_srcdir/Makefile.frag"; then - PHP_ADD_MAKEFILE_FRAGMENT - fi -]) - AC_DEFUN([PHP_ADD_BUILD_DIR],[ ifelse($2,,[ BUILD_DIR="$BUILD_DIR $1" diff --git a/build/scan_makefile_in.awk b/build/scan_makefile_in.awk deleted file mode 100644 index c7ba9a8..0000000 --- a/build/scan_makefile_in.awk +++ /dev/null @@ -1,32 +0,0 @@ -BEGIN { - mode=0 - sources="" -} - -mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ { - if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH-1) - } - mode=1 - next -} - -mode == 0 && /^LTLIBRARY_SOURCES.*/ { - if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH) - } -} - -mode == 1 && /.*\\$/ { - sources=sources substr($0, 0, length - 1) - next -} - -mode == 1 { - sources=sources $0 - mode=0 -} - -END { - print sources -} diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag index d730a79..47acf60 100644 --- a/scripts/Makefile.frag +++ b/scripts/Makefile.frag @@ -7,7 +7,6 @@ phpbuilddir = $(libdir)/build BUILD_FILES = \ scripts/phpize.m4 \ - build/scan_makefile_in.awk \ build/libtool.m4 \ build/ltmain.sh \ build/ax_check_compile_flag.m4 \ diff --git a/scripts/phpize.in b/scripts/phpize.in index b3a6532..01366a3 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -9,7 +9,7 @@ includedir="eval echo @includedir@/php" builddir="pwd" SED="@SED@" -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" +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" FILES="acinclude.m4 Makefile.global run-tests*.php" CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ install-sh \ mkinstalldirs missing config.nice configure configure.ac \

« previous php.cvs (#104875) next »