summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2011-11-22 17:14:32 +0100
committerTorbjorn Granlund <tege@gmplib.org>2011-11-22 17:14:32 +0100
commite7f9942cc24335135f4bd92e53787fd619efa69d (patch)
tree1a88f8479e490dfa15f6f76e6e06958bf9f0fea8
parentd8b2d9eabb0faff2d12c3f2b3ab5c9e36fb21701 (diff)
downloadgmp-e7f9942cc24335135f4bd92e53787fd619efa69d.tar.gz
Don't fail fat builds under 64-bit DOS.
-rw-r--r--configure.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 186d4b576..1d1ebd10f 100644
--- a/configure.in
+++ b/configure.in
@@ -1930,9 +1930,17 @@ case $host in
if test "$abi" = 64; then
gcc_64_cflags=""
- extra_functions_64="$extra_functions_64 fat fat_entry"
- path_64="x86_64/fat x86_64"
- fat_path="x86_64 x86_64/fat x86_64/pentium4 x86_64/core2 x86_64/coreinhm x86_64/coreisbr x86_64/atom x86_64/nano"
+ case $host in
+ *-*-mingw* | *-*-cygwin)
+ path_64="" # Windows amd64 calling conventions are *different*
+ fat_path=""
+ ;;
+ *)
+ extra_functions_64="$extra_functions_64 fat fat_entry"
+ path_64="x86_64/fat x86_64"
+ fat_path="x86_64 x86_64/fat x86_64/pentium4 x86_64/core2 x86_64/coreinhm x86_64/coreisbr x86_64/atom x86_64/nano"
+ ;;
+ esac
fi
fat_functions="add_n addmul_1 copyd copyi