From: panne Date: Sat, 9 Jul 2005 14:35:51 +0000 (+0000) Subject: [project @ 2005-07-09 14:35:51 by panne] X-Git-Tag: Initial_conversion_from_CVS_complete~390 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=73e3981ba5bc55ee019b503feab4ad7f002a0afc [project @ 2005-07-09 14:35:51 by panne] Silence the error message when ld doesn't understand the -x option. --- 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