diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/config.guess | 14 | ||||
| -rw-r--r-- | src/config/config.sub | 2 |
2 files changed, 6 insertions, 10 deletions
diff --git a/src/config/config.guess b/src/config/config.guess index 98fea7b84..c38d2329a 100644 --- a/src/config/config.guess +++ b/src/config/config.guess @@ -811,20 +811,16 @@ EOF echo i586-pc-beos exit 0 ;; # MIT addition - Power\ Macintosh:Rhapsody:*:*) + Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; # MIT addition - powerpc:Rhapsody:*:*) - echo powerpc-unknown-rhapsody${UNAME_RELEASE} + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; # MIT addition - i?86:Rhapsody:*:*) - echo i386-unknown-rhapsody${UNAME_RELEASE} - exit 0 ;; -# MIT addition - Power\ Macintosh:Mac\ OS:*:*) - echo powerpc-apple-macos${UNAME_RELEASE} + *:Darwin:*:*|*:"Mac OS":*:*) + echo `uname -p`-apple-darwin${UNAME_RELEASE} exit 0 ;; esac diff --git a/src/config/config.sub b/src/config/config.sub index 995263424..ebce5acb7 100644 --- a/src/config/config.sub +++ b/src/config/config.sub @@ -714,7 +714,7 @@ case $os in | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -macos* | -rhapsody*) + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -darwin* | -rhapsody*) # Remember, each alternative MUST END IN *, to match a version number. ;; -linux*) |
