From: Todd C. Miller Date: Sat, 9 Dec 2000 16:46:19 +0000 (+0000) Subject: Darwin / Mac OS X support from Wilfredo Sanchez X-Git-Tag: SUDO_1_6_4~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21cdac6b020f50a5c984f6144d4840b687ad0252;p=sudo Darwin / Mac OS X support from Wilfredo Sanchez --- diff --git a/config.guess b/config.guess index c0326b5ca..dcb0245ec 100644 --- a/config.guess +++ b/config.guess @@ -390,6 +390,15 @@ EOF *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` exit 0 ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:* | *:"Mac OS":*:*) + echo `uname -p`-apple-darwin${UNAME_RELEASE} + exit 0 ;; i*:CYGWIN*:*) echo i386-pc-cygwin32 exit 0 ;; diff --git a/config.sub b/config.sub index 1c16182fd..6629403db 100755 --- a/config.sub +++ b/config.sub @@ -693,7 +693,7 @@ case $os in | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -linux-gnu* | -uxpv*) + | -linux-gnu* | -uxpv* | -rhapsody* | -darwin* ) # Remember, each alternative MUST END IN *, to match a version number. ;; -linux*)