summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:11 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:11 +0000
commitf3bab4fd4525bf5f7401a261ce24dbea70a6c479 (patch)
tree6d317411e081c2d0bf9596deffbdca42a156ead9 /buildlib
parent270b9ad11be6c5c51ad7e5c22223203a9f823acf (diff)
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
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/tools.m44
1 files changed, 2 insertions, 2 deletions
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 <stdlib.h>
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 <stdlib.h>
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`