From 9cad56b2f576fec272c3613612ee2749cc0d0ec0 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 16 Jan 2001 11:14:29 +0000 Subject: [PATCH] [project @ 2001-01-16 11:14:29 by simonmar] platform definitions for PPC/MacOSX --- config.guess | 3 +++ config.sub | 3 +++ configure.in | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/config.guess b/config.guess index 2960d6e..1617892 100644 --- a/config.guess +++ b/config.guess @@ -222,6 +222,9 @@ EOF powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; + Power*:Darwin:*:*) + echo powerpc-apple-macosx${UNAME_RELEASE} + exit 0 ;; macppc:NetBSD:*:*) echo powerpc-apple-netbsd${UNAME_RELEASE} exit 0 ;; diff --git a/config.sub b/config.sub index 00bea6e..4dc829a 100644 --- a/config.sub +++ b/config.sub @@ -775,6 +775,9 @@ case $os in -xenix) os=-xenix ;; + -macosx*) + os=-macosx + ;; -none) ;; *) diff --git a/configure.in b/configure.in index 652edbd..7214401 100644 --- a/configure.in +++ b/configure.in @@ -271,6 +271,15 @@ powerpc-ibm-aix*) HostVendor_CPP='ibm' HostOS_CPP='aix' ;; +powerpc-apple-macosx*) + HostPlatform=powerpc-apple-macosx + TargetPlatform=powerpc-apple-macosx #hack + BuildPlatform=powerpc-apple-macosx #hack + HostPlatform_CPP='powerpc_apple_macosx' + HostArch_CPP='powerpc' + HostVendor_CPP='apple' + HostOS_CPP='macosx' + ;; sparc-sun-sunos4*) HostPlatform=sparc-sun-sunos4 TargetPlatform=sparc-sun-sunos4 #hack -- 1.7.10.4