[Gmp-commit] /var/hg/gmp: (GMP_C_DOUBLE_FORMAT): Append EXEEXT for executable.

mercurial at gmplib.org mercurial at gmplib.org
Sat Sep 7 18:51:04 UTC 2019


details:   /var/hg/gmp/rev/8853a54686e3
changeset: 17873:8853a54686e3
user:      Vincent Lefevre <vincent at vinc17.net>
date:      Sat Sep 07 20:50:57 2019 +0200
description:
(GMP_C_DOUBLE_FORMAT): Append EXEEXT for executable.

diffstat:

 acinclude.m4 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 6137ad9f35b7 -r 8853a54686e3 acinclude.m4
--- a/acinclude.m4	Fri Sep 06 19:46:43 2019 +0200
+++ b/acinclude.m4	Sat Sep 07 20:50:57 2019 +0200
@@ -3316,7 +3316,7 @@
   return 0;
 }]
 EOF
-gmp_compile="$CC $CFLAGS $CPPFLAGS conftest.c -o conftest >&AC_FD_CC 2>&1"
+gmp_compile="$CC $CFLAGS $CPPFLAGS conftest.c -o conftest$EXEEXT >&AC_FD_CC 2>&1"
 if AC_TRY_EVAL(gmp_compile); then
 cat >conftest.awk <<\EOF
 [
@@ -3469,11 +3469,11 @@
 }
 ]
 EOF
-  gmp_cv_c_double_format=`od -b conftest | $AWK -f conftest.awk`
+  gmp_cv_c_double_format=`od -b conftest$EXEEXT | $AWK -f conftest.awk`
   case $gmp_cv_c_double_format in
   unknown*)
-    echo "cannot match anything, conftest contains" >&AC_FD_CC
-    od -b conftest >&AC_FD_CC
+    echo "cannot match anything, conftest$EXEEXT contains" >&AC_FD_CC
+    od -b conftest$EXEEXT >&AC_FD_CC
     ;;
   esac
 else


More information about the gmp-commit mailing list