summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.guess3
-rw-r--r--config.sub3
-rw-r--r--configure.in9
3 files changed, 15 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index 2960d6e0d2..16178926b6 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 00bea6e6aa..4dc829aef1 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 652edbd4f5..7214401148 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