summaryrefslogtreecommitdiff
path: root/Build/source/libs/jpeg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-16 02:42:03 +0000
committerKarl Berry <karl@freefriends.org>2008-11-16 02:42:03 +0000
commit2d0094d3228ae3a1d7f8d30c35e0ba1058f40770 (patch)
tree5dedac29c542c48e67c28922a004fc339f80ea4d /Build/source/libs/jpeg
parentc0940029798021fa542a12e0eaea55143a9c63d2 (diff)
/home/texlive/karl/Master/tlpkg/bin/tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@11308 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/jpeg')
-rw-r--r--Build/source/libs/jpeg/config.guess17
1 files changed, 15 insertions, 2 deletions
diff --git a/Build/source/libs/jpeg/config.guess b/Build/source/libs/jpeg/config.guess
index f0f0d363cc1..7b24a8728ca 100644
--- a/Build/source/libs/jpeg/config.guess
+++ b/Build/source/libs/jpeg/config.guess
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
-timestamp='2008-09-28'
+timestamp='2008-11-15'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -331,7 +331,20 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize