From: Sascha Schumann Date: Thu, 8 Feb 2001 00:49:24 +0000 (+0000) Subject: Suppress the other nasty warning X-Git-Tag: php-4.0.5RC1~335 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28052724e72ac0650a0ed4fc0ecb7ec12f6fe142;p=php Suppress the other nasty warning --- diff --git a/build/build2.mk b/build/build2.mk index c64fd6540c..689c01be5d 100644 --- a/build/build2.mk +++ b/build/build2.mk @@ -61,16 +61,18 @@ $(makefile_in_files): $(makefile_am_files) aclocal.m4 configure.in $(config_m4_f aclocal.m4: configure.in acinclude.m4 dynlib.m4 aclocal +SUPPRESS_WARNINGS = (egrep -v '(warning: AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX)'||true) + $(config_h_in): configure acconfig.h # explicitly remove target since autoheader does not seem to work # correctly otherwise (timestamps are not updated) @echo rebuilding $@ @rm -f $@ - @autoheader 2>&1 | (grep -v 'warning: AC_TRY_RUN called without default to allow cross compiling'||true) + @autoheader 2>&1 | $(SUPPRESS_WARNINGS) $(TOUCH_FILES): touch $(TOUCH_FILES) configure: aclocal.m4 configure.in $(config_m4_files) @echo rebuilding $@ - @autoconf 2>&1 | (grep -v 'warning: AC_TRY_RUN called without default to allow cross compiling'||true) + @autoconf 2>&1 | $(SUPPRESS_WARNINGS)