From 70d70a3c81c7affbda6b626ff49097aa1714298c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 7 Mar 2001 10:04:00 +0000 Subject: Code for better build under Darwin (MacOS X). Submitted by Brad Dominy --- config | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config b/config index 1b44dc6ba3..a6411528af 100755 --- a/config +++ b/config @@ -233,7 +233,15 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in ;; Darwin:*) - echo "ppc-apple-darwin"; exit 0 + case "$MACHINE" in + Power*) + echo "ppc-apple-darwin${VERSION}" + ;; + *) + echo "i386-apple-darwin${VERSION}" + ;; + esac + exit 0 ;; SunOS:5.*) @@ -449,7 +457,8 @@ EOF m68k-*-linux*) OUT="linux-m68k" ;; ia64-*-linux?) OUT="linux-ia64" ;; ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;; - ppc-apple-darwin) OUT="darwin-ppc-cc" ;; + ppc-apple-darwin*) OUT="darwin-ppc-cc" ;; + i386-apple-darwin*) OUT="darwin-i386-cc" ;; sparc64-*-linux2) #Before we can uncomment following lines we have to wait at least #till 64-bit glibc for SPARC is operational:-( -- cgit v1.2.3