diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2019-09-07 20:50:57 +0200 |
---|---|---|
committer | Vincent Lefevre <vincent@vinc17.net> | 2019-09-07 20:50:57 +0200 |
commit | 1abaa18fed97ffa8eba3ddbd24b7d1c98c42a0b3 (patch) | |
tree | 40e5a308fad6336baa6f2768372a11f5eb300e10 /acinclude.m4 | |
parent | 4329b3abec5e3f5efc212d5de702b8a9aeaf06dc (diff) | |
download | gmp-1abaa18fed97ffa8eba3ddbd24b7d1c98c42a0b3.tar.gz |
(GMP_C_DOUBLE_FORMAT): Append EXEEXT for executable.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 42c86649a..62e283e24 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -3316,7 +3316,7 @@ int main(){ 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 @@ END { } ] 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 |