mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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])])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user