X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2Fconfigure-bin.ac;h=a852ec9ba91f337bc3bad0e6c96c381bd4ff88bf;hp=11d3db2ff8aa9e5b4d79785d67302be867d80885;hb=2f6ad11fa0c2995d950c91fd4301f23aceeb443b;hpb=f30908b63b7bda01ac4fc8a3a62ea2a23da01ae9 diff --git a/distrib/configure-bin.ac b/distrib/configure-bin.ac index 11d3db2..a852ec9 100644 --- a/distrib/configure-bin.ac +++ b/distrib/configure-bin.ac @@ -60,6 +60,8 @@ i[[3456]]86-*-mingw32*) CFLAGS="-mno-cygwin -mwin32 $CFLAGS" TargetPlatform=i386-unknown-mingw32 ;; +i[[3456]]86-apple-darwin*) + TargetPlatform=i386-apple-darwin;; m68k-next-nextstep2) TargetPlatform=m68k-next-nextstep2;; m68k-next-nextstep3) @@ -78,10 +80,22 @@ rs6000-ibm-aix*) TargetPlatform=rs6000-ibm-aix;; powerpc-apple-darwin*) TargetPlatform=powerpc-apple-darwin;; +powerpc-*-linux*) + TargetPlatform=powerpc-unknown-linux;; +powerpc64-*-linux*) + TargetPlatform=powerpc64-unknown-linux;; sparc-sun-sunos4*) TargetPlatform=sparc-sun-sunos4;; sparc-sun-solaris2*) TargetPlatform=sparc-sun-solaris2;; +x86_64-*-linux*) + TargetPlatform=x86_64-unknown-linux;; +x86_64-*-freebsd*) + TargetPlatform=x86_64-unknown-freebsd;; +x86_64-*-openbsd*) + TargetPlatform=x86_64-unknown-openbsd;; +x86_64-*-netbsd*) + TargetPlatform=x86_64-unknown-netbsd;; *) echo "Unrecognised platform: $TargetPlatform" exit 1