(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

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