X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=8f4dad6ee294a8ba97530ca1f8c55cba0e4744c7;hb=73e3981ba5bc55ee019b503feab4ad7f002a0afc;hp=e2ad673bf53340bf1cea65e85c5402f49758e286;hpb=cf5526bc4dfdbbff52ca8d5d9855447892f01348;p=ghc-hetmet.git 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