]> git.saurik.com Git - bison.git/commitdiff
(AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Feb 2004 21:13:00 +0000 (21:13 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Feb 2004 21:13:00 +0000 (21:13 +0000)
ChangeLog
tests/local.at

index bb43d50d187e9e2f8e3e149921c2fb9cc3636cf3..3f3197ca354034264c75ccd5b13be1a4a87c49a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-25  Paul Eggert  <eggert@twinsun.com>
+
+       * tests/local.at (AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from
+       compilers.  This fixes a problem with Intel's C++ compiler being
+       chatty, reported by Guido Trentalancia in
+       <http://mail.gnu.org/archive/html/bug-bison/2004-02/msg00030.html>.
+
 2004-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
 
        Support %destructor and merge error locations in lalr1.cc.
index 9ede293db21f98709162d325c32925621e99811e..7ff9f3b44cd873053f674bafb3531671df88f28d 100644 (file)
@@ -171,7 +171,7 @@ $2])
 # assume that we are linking too; this is a hack.
 m4_define([AT_COMPILE],
 [AT_CHECK([$CC $CFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])m4_default([$2], [$1.c]) m4_bmatch([$1], [[.]], [], [$LIBS ])-o $1],
-          0, [], [ignore])])
+          0, [ignore], [ignore])])
 
 # AT_COMPILE_CXX(OUTPUT, [SOURCES = OUTPUT.c])
 # --------------------------------------------
@@ -180,7 +180,7 @@ m4_define([AT_COMPILE_CXX],
 [AT_KEYWORDS(c++)
 AT_CHECK([$CXX --version || exit 77], 0, ignore, ignore)
 AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_default([$2], [$1.c]) -o $1],
-         0, [], [ignore])])
+         0, [ignore], [ignore])])