(AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers.

This commit is contained in:
Paul Eggert
2004-02-25 21:13:00 +00:00
parent 6a60c4cf45
commit 006d217ddd
2 changed files with 9 additions and 2 deletions

View File

@@ -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.

View 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])])