summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-04 01:15:37 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-04 01:15:37 +0200
commitcff3d205fbc6d9aac56d49ad9f500522e85fb831 (patch)
tree8d2cd3c05c076aa7937241a3bdacb12bedefb2c6 /acinclude.m4
parente8d66b47748c92b64d0aa37250f911cd969fa871 (diff)
downloadgmp-cff3d205fbc6d9aac56d49ad9f500522e85fb831.tar.gz
* acinclude.m4 (GMP_PROG_CC_IS_GNU, GMP_PROG_CXX_WORKS): Send compiler
errors to config.log.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1d96d121c..75ef225f8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -326,7 +326,7 @@ AC_DEFUN(GMP_PROG_CC_IS_GNU,
choke me
#endif
EOF
-gmp_compile="$1 -c conftest.c"
+gmp_compile="$1 -c conftest.c >&AC_FD_CC"
if AC_TRY_EVAL(gmp_compile); then
rm -f conftest*
AC_MSG_CHECKING([whether $1 is gcc])
@@ -564,7 +564,7 @@ main (void)
}
EOF
-gmp_cxxcompile="$1 conftest.cc -o conftest"
+gmp_cxxcompile="$1 conftest.cc -o conftest >&AC_FD_CC"
if AC_TRY_EVAL(gmp_cxxcompile); then
rm -f conftest*
AC_MSG_RESULT(yes)
@@ -777,7 +777,7 @@ EOF
EOF
;;
esac
- gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s 1>&AC_FD_CC"
+ gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s >&AC_FD_CC"
if AC_TRY_EVAL(gmp_compile); then
eval tmp_result$tmp_underscore=yes
else