In Mac OS X, uname will return Darwin, not Mac OS, as it did in DP3.
Since DP3 is still the current available release, Mac OS is still understood.
GNU string for OS X on Macs is powerpc-apple-darwin1.x.
The above is consistant with what is being submitted to the autoconf sources.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12211
dc483132-0cff-0310-8789-
dd5450dbe970
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
| -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*)