summaryrefslogtreecommitdiff
path: root/configure.host
diff options
context:
space:
mode:
Diffstat (limited to 'configure.host')
-rw-r--r--configure.host12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.host b/configure.host
index 36ffbb8..4062a48 100644
--- a/configure.host
+++ b/configure.host
@@ -64,8 +64,8 @@ case "${host}" in
TARGET=X86_FREEBSD; TARGETDIR=x86
;;
- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \
- | x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-winnt* )
+ i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \
+ | x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-win* )
TARGETDIR=x86
if test $ac_cv_sizeof_size_t = 4; then
TARGET=X86_WIN32
@@ -73,7 +73,13 @@ case "${host}" in
TARGET=X86_WIN64
fi
if test "${ax_cv_c_compiler_vendor}" = "microsoft"; then
- MSVC=1
+ MSVC=1
+ if test $ac_cv_sizeof_size_t = 4; then
+ # libffi does not support microsoft tools for 32-bit windows
+ # hosts. Try porting src/x86/sysv.S to intel assembly
+ # format.
+ UNSUPPORTED=1
+ fi
fi
# All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
# We must also check with_cross_host to decide if this is a native