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
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
--------------------------------------
+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
================================
# 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
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)