X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fconfigure-bin.ac;h=e50a50e3fb6a1ada4d5be2685eb262166509dade;hb=bd59a99889308cddf9a755b12b7a347ae6ce44bb;hp=bccef9cb4d6d28a80be1cf77be074e6596339319;hpb=c883f6969ad957637649f3af1a2b6977555bdd32;p=ghc-hetmet.git diff --git a/distrib/configure-bin.ac b/distrib/configure-bin.ac index bccef9c..e50a50e 100644 --- a/distrib/configure-bin.ac +++ b/distrib/configure-bin.ac @@ -5,7 +5,7 @@ dnl # # Is it there? -AC_INIT(Makefile.in) +AC_INIT(Makefile-vars.in) exeext='' @@ -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,6 +80,10 @@ 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*) @@ -90,6 +96,8 @@ x86_64-*-openbsd*) TargetPlatform=x86_64-unknown-openbsd;; x86_64-*-netbsd*) TargetPlatform=x86_64-unknown-netbsd;; +x86_64-apple-darwin*) + TargetPlatform=x86_64-apple-darwin;; *) echo "Unrecognised platform: $TargetPlatform" exit 1 @@ -133,7 +141,7 @@ FP_HAVE_GCC AC_PROG_CPP # -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile-vars) echo "****************************************************" echo "Configuration done, ready to either 'make install'"