do the right thing by default with a current mingw
[ghc-hetmet.git] / distrib / configure-bin.ac
index a852ec9..e50a50e 100644 (file)
@@ -5,7 +5,7 @@ dnl
 #
 
 # Is it there?
-AC_INIT(Makefile.in)
+AC_INIT(Makefile-vars.in)
 
 exeext=''
 
@@ -96,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
@@ -139,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'"