Clean up Rhapsody guessing. Use Power* (catches PowerBook).
authorWilfredo Sanchez <tritan@mit.edu>
Wed, 3 May 2000 02:20:05 +0000 (02:20 +0000)
committerWilfredo Sanchez <tritan@mit.edu>
Wed, 3 May 2000 02:20:05 +0000 (02:20 +0000)
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

src/config/config.guess
src/config/config.sub

index 98fea7b84bf43ec0005569c26068e960e3f3d70d..c38d2329ace95096af822a1316827e1c74ed13e4 100644 (file)
@@ -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
 
index 99526342468c512740717806a30f2353393c0e74..ebce5acb7f8197439a8bdf4dc7c56d14edd7dc8d 100644 (file)
@@ -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*)