diff options
author | Nomis101 <[email protected]> | 2019-06-20 21:55:46 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-06-22 10:57:23 +0200 |
commit | 9b57d44414ca849bfc0b33368b60037852b40edf (patch) | |
tree | db93bad2ab5cb274729a0971b30eddfdfcf74a04 /make/config.guess | |
parent | 4d3f9d86784fc612587a868f6aa5588d6104d8d1 (diff) |
[gardening] Clean up old OS X code pieces
Remove old PPC/i386 related Mac code and stuff < macOS 10.11
Diffstat (limited to 'make/config.guess')
-rwxr-xr-x | make/config.guess | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/make/config.guess b/make/config.guess index 02cf497ba..f200dcf89 100755 --- a/make/config.guess +++ b/make/config.guess @@ -1268,17 +1268,11 @@ EOF SX-ACE:SUPER-UX:*:*) echo sxace-nec-superux${UNAME_RELEASE} exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then - UNAME_PROCESSOR=powerpc + UNAME_PROCESSOR=x86_64 fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then @@ -1288,24 +1282,15 @@ EOF 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 # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. + # processor. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |