mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
(AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers.
This commit is contained in:
@@ -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