[project @ 2003-09-09 09:49:49 by simonmar]
[ghc-hetmet.git] / configure.ac
index b8d1116..02f5ba9 100644 (file)
@@ -305,6 +305,15 @@ powerpc-apple-darwin*)
        HostVendor_CPP='apple'
        HostOS_CPP='darwin'
        ;;
+powerpc-unknown-linux*)
+        HostPlatform=powerpc-unknown-linux
+        TargetPlatform=powerpc-unknown-linux
+        BuildPlatform=powerpc-unknown-linux
+        HostPlatform_CPP='powerpc_unknown_linux'
+        HostArch_CPP='powerpc'
+        HostVendor_CPP='unknown'
+        HostOS_CPP='linux'
+        ;;
 sparc-sun-sunos4*)
        HostPlatform=sparc-sun-sunos4
        TargetPlatform=sparc-sun-sunos4 #hack
@@ -360,27 +369,25 @@ TargetOS_CPP=$HostOS_CPP
 BuildVendor_CPP=$HostVendor_CPP
 TargetVendor_CPP=$HostVendor_CPP
 
-dnl Cannot afford all these SUBSTs (because of braindead seds w/ 99 cmd limits)
-dnl AC_SUBST(BuildPlatform)
-
+AC_SUBST(BuildPlatform)
 AC_SUBST(HostPlatform)
 AC_SUBST(TargetPlatform)
 AC_SUBST(HostPlatform_CPP)
-dnl AC_SUBST(BuildPlatform_CPP)
-dnl AC_SUBST(TargetPlatform_CPP)
+AC_SUBST(BuildPlatform_CPP)
+AC_SUBST(TargetPlatform_CPP)
 
 AC_SUBST(HostArch_CPP)
-dnl AC_SUBST(BuildArch_CPP)
-dnl AC_SUBST(TargetArch_CPP)
+AC_SUBST(BuildArch_CPP)
+AC_SUBST(TargetArch_CPP)
 
 AC_SUBST(HostOS_CPP)
 AC_SUBST(HostOS_Full)
-dnl AC_SUBST(BuildOS_CPP)
-dnl AC_SUBST(TargetOS_CPP)
+AC_SUBST(BuildOS_CPP)
+AC_SUBST(TargetOS_CPP)
 
 AC_SUBST(HostVendor_CPP)
-dnl AC_SUBST(BuildVendor_CPP)
-dnl AC_SUBST(TargetVendor_CPP)
+AC_SUBST(BuildVendor_CPP)
+AC_SUBST(TargetVendor_CPP)
 
 AC_SUBST(exeext)