The SIMD routines need some work before they will work on Win64, so disable
them there for now.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3991 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/jpeg/configure.ac b/common/jpeg/configure.ac
index 2574319..f2791b0 100644
--- a/common/jpeg/configure.ac
+++ b/common/jpeg/configure.ac
@@ -112,8 +112,17 @@
case "$host_cpu" in
x86_64)
AC_MSG_RESULT([yes (x86_64)])
- AC_PROG_NASM
- simd_arch=x86_64
+
+ case "$host_os" in
+ cygwin* | mingw* | pw32* | interix*)
+ AC_MSG_WARN([Win64 not yet supported. Disabling SIMD routines.])
+ with_simd=no
+ ;;
+ *)
+ AC_PROG_NASM
+ simd_arch=x86_64
+ ;;
+ esac
;;
i*86 | x86 | ia32)
AC_MSG_RESULT([yes (i386)])