]> granicus.if.org Git - libjpeg-turbo/commitdiff
64-bit FreeBSD sets host_cpu to "amd64", not "x86_64". Handle that case so that...
authorDRC <dcommander@users.sourceforge.net>
Mon, 17 May 2010 20:47:57 +0000 (20:47 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 17 May 2010 20:47:57 +0000 (20:47 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@190 632fc199-4ca6-4c93-a231-07263d6284db

BUILDING.txt
ChangeLog.txt
acinclude.m4
configure.ac

index 520acb85dbf293765e7d0e73b5ee2dcf684180b4..fae1a8add5cc31c388b1d58242f37ba978ff8ebe 100644 (file)
@@ -35,9 +35,9 @@ Build Requirements
 Building libjpeg-turbo
 ======================
 
-The following procedure will build libjpeg-turbo on Linux, 32-bit OS X, and
-Solaris/x86 systems (on Solaris, this generates a 32-bit library.  See below
-for 64-bit build instructions.)
+The following procedure will build libjpeg-turbo on Linux, FreeBSD, 32-bit
+OS X, and Solaris/x86 systems (on Solaris, this generates a 32-bit library.
+See below for 64-bit build instructions.)
 
   cd libjpeg-turbo
   autoreconf -fiv
@@ -163,17 +163,6 @@ Add
 to the configure command line.
 
 
-64-bit Library Build on 64-bit FreeBSD
---------------------------------------
-
-Add
-
-  --host x86_64-unknown-freebsd
-
-to the configure command line.  NASM 2.07 or later from FreeBSD ports must be
-installed.
-
-
 32-bit Library Build on 64-bit FreeBSD
 --------------------------------------
 
index 97c884ee33daf9d602263cc45ce99c7e5b384052..b4fac2600f90f813aa5e6cad1475b4fba2e4f9e0 100644 (file)
@@ -1,3 +1,10 @@
+Significant changes since 0.0.93
+================================
+
+[1] Further FreeBSD build tweaks (no longer necessary to specify --host
+when configuring on a 64-bit system)
+
+
 Significant changes since 0.0.91
 ================================
 
index 570e606c4903e15376fd2d30dd52055564e789e1..cc10a215193b3cfd2bd37812be978a3f02ed180d 100644 (file)
@@ -45,7 +45,7 @@ case "$host_os" in
       objfmt='BSD-a.out'
     else
       case "$host_cpu" in
-        x86_64)
+        x86_64 | amd64)
           objfmt='ELF64'
           ;;
         *)
index b8f61797fdb548ae385400e42439ee20ebb6b975..dc0a9deeb475fbb8a99493f4cebb859cf322d488 100644 (file)
@@ -133,7 +133,7 @@ if test "x${with_simd}" != "xno"; then
   # 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
@@ -157,7 +157,7 @@ fi
 AM_CONDITIONAL([WITH_SIMD], [test "x$with_simd" != "xno"])
 AM_CONDITIONAL([SIMD_I386], [test "x$simd_arch" = "xi386"])
 AM_CONDITIONAL([SIMD_X86_64], [test "x$simd_arch" = "xx86_64"])
-AM_CONDITIONAL([X86_64], [test "x$host_cpu" = "xx86_64"])
+AM_CONDITIONAL([X86_64], [test "x$host_cpu" = "xx86_64" -o "x$host_cpu" = "xamd64"])
 
 case "$host_cpu" in
   x86_64)