summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aclocal.m46
-rwxr-xr-xconfigure6
2 files changed, 6 insertions, 6 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f4948a249..8a202a9e9 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -339,7 +339,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])
@@ -577,7 +577,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)
@@ -790,7 +790,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
diff --git a/configure b/configure
index 6e71d3566..fadbbca46 100755
--- a/configure
+++ b/configure
@@ -2518,7 +2518,7 @@ for abi in $abilist; do
choke me
#endif
EOF
-gmp_compile="$cc -c conftest.c"
+gmp_compile="$cc -c conftest.c >&5"
if { (eval echo "$as_me:2522: \"$gmp_compile\"") >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -4525,7 +4525,7 @@ main (void)
}
EOF
-gmp_cxxcompile="$CXX $CXXFLAGS conftest.cc -o conftest"
+gmp_cxxcompile="$CXX $CXXFLAGS conftest.cc -o conftest >&5"
if { (eval echo "$as_me:4529: \"$gmp_cxxcompile\"") >&5
(eval $gmp_cxxcompile) 2>&5
ac_status=$?
@@ -17975,7 +17975,7 @@ EOF
EOF
;;
esac
- gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s 1>&5"
+ gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s >&5"
if { (eval echo "$as_me:17979: \"$gmp_compile\"") >&5
(eval $gmp_compile) 2>&5
ac_status=$?