]> granicus.if.org Git - php/commitdiff
Remove a few more warnings. I don't think we need to scare people with
authorRasmus Lerdorf <rasmus@php.net>
Thu, 30 Dec 2004 19:54:46 +0000 (19:54 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 30 Dec 2004 19:54:46 +0000 (19:54 +0000)
a warning about the cvsclean stuff.  We'll just tell them we are
running cvsclean.

build/build2.mk
build/buildcheck.sh

index 020dd9a83b02116259f40887e61b04e8f2d0675f..81925aff12761e037110b52ba6a0358655a24ea6 100644 (file)
@@ -39,7 +39,7 @@ acconfig.h: $(acconfig_h_SOURCES)
        @echo rebuilding $@
        cat $(acconfig_h_SOURCES) > $@
 
-SUPPRESS_WARNINGS = (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)'||true)
+SUPPRESS_WARNINGS = (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)
 
 $(config_h_in): configure acconfig.h
 # explicitly remove target since autoheader does not seem to work 
@@ -47,7 +47,7 @@ $(config_h_in): configure acconfig.h
        @echo rebuilding $@
        @rm -f $@
        @autoheader=`./build/shtool path autoheader-2.13 autoheader`; \
-       $$autoheader 2>&1 | $(SUPPRESS_WARNINGS)
+       $$autoheader -W none 2>&1 | $(SUPPRESS_WARNINGS)
 
 $(TOUCH_FILES):
        touch $(TOUCH_FILES)
index 8996496b27d2f226da025d1437056deb7a63ad6c..9afdd6e2fbf176f52cc276c10608b75df06dbb43 100755 (executable)
@@ -16,7 +16,7 @@
 #  |          Sascha Schumann <sascha@schumann.cx>                        |
 #  +----------------------------------------------------------------------+
 #
-# $Id: buildcheck.sh,v 1.21.2.8 2004-12-30 15:43:52 rasmus Exp $ 
+# $Id: buildcheck.sh,v 1.21.2.9 2004-12-30 19:54:46 rasmus Exp $ 
 #
 
 echo "buildconf: checking installation..."
@@ -44,9 +44,7 @@ fi
 
 
 if test "$1" = "2" && test "$2" -ge "50"; then
-  echo "buildconf: Your version of autoconf likely contains buggy cache code."
-  echo "           Running cvsclean for you."
-  echo "           To avoid this, install autoconf-2.13 and automake-1.5."
+  echo "buildconf: running cvsclean."
   ./cvsclean
   stamp=
 fi