From f3bab4fd4525bf5f7401a261ce24dbea70a6c479 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:57:11 +0000 Subject: silence gcc/g++ warnings on libc/stdc++ version tests Author: tausq Date: 2001-03-10 03:35:30 GMT silence gcc/g++ warnings on libc/stdc++ version tests --- buildlib/tools.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildlib') diff --git a/buildlib/tools.m4 b/buildlib/tools.m4 index c0e638b71..564ca111c 100644 --- a/buildlib/tools.m4 +++ b/buildlib/tools.m4 @@ -98,7 +98,7 @@ AC_DEFUN(ah_GLIBC_VER, #include int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); } _GLIBC_ - ${CC-cc} $dummy.c -o $dummy + ${CC-cc} $dummy.c -o $dummy > /dev/null 2>&1 if test "$?" = 0; then GLIBC_VER=`./$dummy` AC_MSG_RESULT([$GLIBC_VER]) @@ -119,7 +119,7 @@ AC_DEFUN(ah_LIBSTDCPP_VER, #include int main(int argc, char **argv) { exit(0); } _LIBSTDCPP_ - ${CXX-c++} $dummy.cc -o $dummy + ${CXX-c++} $dummy.cc -o $dummy > /dev/null 2>&1 if test "$?" = 0; then soname=`objdump -p ./$dummy |grep NEEDED|grep libstd` -- cgit v1.2.3