diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-05 00:21:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-05 00:21:17 +0000 |
commit | fc70fc1f98488ffbd2bfd999999e9d0cdd9339b9 (patch) | |
tree | 9814ca60c8fcf3a565b8de740310e72e838d61d3 /Build/source/utils | |
parent | 717e0a1eeb49860308a7fb3fe7ef63893ca44579 (diff) |
tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@44462 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/asymptote/config.guess | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/config.guess b/Build/source/utils/asymptote/config.guess index faa63aa9429..2193702b12a 100644 --- a/Build/source/utils/asymptote/config.guess +++ b/Build/source/utils/asymptote/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2017-05-11' +timestamp='2017-05-27' # 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 @@ -1304,14 +1304,21 @@ EOF if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub |