FreeBSD sometimes sets host_cpu to amd64 on 64-bit systems.  Handle this case so --host doesn't have to be specified explicitly.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4055 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/jpeg/acinclude.m4 b/common/jpeg/acinclude.m4
index 570e606..cc10a21 100644
--- a/common/jpeg/acinclude.m4
+++ b/common/jpeg/acinclude.m4
@@ -45,7 +45,7 @@
       objfmt='BSD-a.out'
     else
       case "$host_cpu" in
-        x86_64)
+        x86_64 | amd64)
           objfmt='ELF64'
           ;;
         *)
diff --git a/common/jpeg/configure.ac b/common/jpeg/configure.ac
index 354a267..1b4917d 100644
--- a/common/jpeg/configure.ac
+++ b/common/jpeg/configure.ac
@@ -110,7 +110,7 @@
   # Check if we're on a supported CPU
   AC_MSG_CHECKING([if we have SIMD optimisations for cpu type])
   case "$host_cpu" in
-    x86_64)
+    x86_64 | amd64)
       AC_MSG_RESULT([yes (x86_64)])
       AC_PROG_NASM
       simd_arch=x86_64