From 73e3981ba5bc55ee019b503feab4ad7f002a0afc Mon Sep 17 00:00:00 2001 From: panne Date: Sat, 9 Jul 2005 14:35:51 +0000 Subject: [PATCH] [project @ 2005-07-09 14:35:51 by panne] Silence the error message when ld doesn't understand the -x option. --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index e2ad673..8f4dad6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -378,7 +378,7 @@ AC_DEFUN([FP_PROG_LD_X], AC_CACHE_CHECK([whether ld understands -x], [fp_cv_ld_x], [echo 'foo() {}' > conftest.c ${CC-cc} -c conftest.c -if ${LdCmd} -r -x -o conftest2.o conftest.o; then +if ${LdCmd} -r -x -o conftest2.o conftest.o > /dev/null 2>&1; then fp_cv_ld_x=yes else fp_cv_ld_x=no -- 1.7.10.4