X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=02f5ba9c849f6b97a8b4f3f2a08c0d078f582ede;hb=7cbba64b65967d947f5b028c80c0e2320376aabd;hp=b8d1116702c108eb5c9608c25602ad9b24bbe29b;hpb=3d27348ae845d075fefcae0523fd4c8e71d7c580;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index b8d1116..02f5ba9 100644 --- a/configure.ac +++ b/configure.ac @@ -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)