summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-07-26 07:05:47 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-07-29 10:53:21 +0200
commit03b717d4ccbe45fad729a6f0e501ffde2bed4b08 (patch)
tree256bead3e6af093a3d988ce78cad1a46481c3c6f /build
parent255e29f3bcd9c76d2f8345eafa9196daa3fdf6a7 (diff)
downloadphp-git-03b717d4ccbe45fad729a6f0e501ffde2bed4b08.tar.gz
Remove unused PHP_PROG_LEX macro
Since PHP 5.3 flex lexer has been replaced with re2c. Commit 0f9e2b1753661afe1c0dee6982e161fcf00d349f made PHP_PROG_LEX macro still available for BC. In commit df6bd506d492292ef4353b0f8da0c34eeb076be5 it was updated. Since this macro is entirely not used in PHP source code anymore from PHP 5.3 and up, this patch removes it together with some old traces of warnings suppression and comments.
Diffstat (limited to 'build')
-rw-r--r--build/build2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build2.mk b/build/build2.mk
index 87c205b6c3..f539fbc5f5 100644
--- a/build/build2.mk
+++ b/build/build2.mk
@@ -27,7 +27,7 @@ targets = $(TOUCH_FILES) configure $(config_h_in)
PHP_AUTOCONF ?= 'autoconf'
PHP_AUTOHEADER ?= 'autoheader'
-SUPPRESS_WARNINGS ?= 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times|AC_DECL_YYTEXT is expanded from...|the top level)'||true)
+SUPPRESS_WARNINGS ?= 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used)'||true)
all: $(targets)