summaryrefslogtreecommitdiff
path: root/trunk/acinclude.m4
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-01-28 23:57:53 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-01-28 23:57:53 +0000
commitdfd885a028a9d038ae1b583126d11777c1032081 (patch)
tree4b0f724e463bc3c81c02311579eb3a3200d3ed69 /trunk/acinclude.m4
parent76525c1462e0b0b90b9b25e0e5e4516740e0344c (diff)
Enable 64-bit libjpeg/SIMD build on Solaris
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@73 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/acinclude.m4')
-rw-r--r--trunk/acinclude.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/trunk/acinclude.m4 b/trunk/acinclude.m4
index 9b8d312..e8d7d08 100644
--- a/trunk/acinclude.m4
+++ b/trunk/acinclude.m4
@@ -41,7 +41,14 @@ case "$host_os" in
fi
;;
solaris* | sunos* | sysv* | sco*)
- objfmt='ELF'
+ case "$host_cpu" in
+ x86_64)
+ objfmt='ELF64'
+ ;;
+ *)
+ objfmt='ELF'
+ ;;
+ esac
;;
darwin* | rhapsody* | nextstep* | openstep* | macos*)
case "$host_cpu" in