sas             Wed Feb  7 16:49:24 2001 EDT

  Modified files:              
    /php4/build build2.mk 
  Log:
  Suppress the other nasty warning
  
  
Index: php4/build/build2.mk
diff -u php4/build/build2.mk:1.16 php4/build/build2.mk:1.17
--- php4/build/build2.mk:1.16   Mon Nov 27 05:27:51 2000
+++ php4/build/build2.mk        Wed Feb  7 16:49:24 2001
@@ -14,7 +14,7 @@
 #  | Authors: Sascha Schumann <[EMAIL PROTECTED]>                        |
 #  +----------------------------------------------------------------------+
 #
-# $Id: build2.mk,v 1.16 2000/11/27 13:27:51 sas Exp $ 
+# $Id: build2.mk,v 1.17 2001/02/08 00:49:24 sas Exp $ 
 #
 
 include generated_lists
@@ -61,16 +61,18 @@
 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)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to