diff options
| author | Wilfredo Sanchez <tritan@mit.edu> | 2000-05-03 02:20:05 +0000 |
|---|---|---|
| committer | Wilfredo Sanchez <tritan@mit.edu> | 2000-05-03 02:20:05 +0000 |
| commit | fcbc1e6cd12d352d4174dbe2546656f1138f7bdf (patch) | |
| tree | 16071329a259d28fc8298a930137ad3962313050 /src | |
| parent | b903bf49a7e1f61d569279ab640afac2ae0e1ac8 (diff) | |
| download | krb5-fcbc1e6cd12d352d4174dbe2546656f1138f7bdf.tar.gz krb5-fcbc1e6cd12d352d4174dbe2546656f1138f7bdf.tar.xz krb5-fcbc1e6cd12d352d4174dbe2546656f1138f7bdf.zip | |
Clean up Rhapsody guessing. Use Power* (catches PowerBook).
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
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 98fea7b84b..c38d2329ac 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 9952634246..ebce5acb7f 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*) |
