X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fconfigure-bin.ac;h=62562b864b5ea59daa243355040bbfffdea2db4a;hb=118b39e4db1a8187af52c1ddb1b299021834a5a2;hp=0d01388e8086797d653e89dae73dd7d5776e38b4;hpb=094f9feafaf83190891736ddd8d1d7213f4293c4;p=ghc-hetmet.git diff --git a/distrib/configure-bin.ac b/distrib/configure-bin.ac index 0d01388..62562b8 100644 --- a/distrib/configure-bin.ac +++ b/distrib/configure-bin.ac @@ -5,7 +5,7 @@ dnl # # Is it there? -AC_INIT(Makefile-vars.in) +AC_INIT(mk/config.mk.in) exeext='' @@ -53,11 +53,6 @@ i[[3456]]86-*-cygwin*) TargetPlatform=i386-unknown-cygwin32;; i[[3456]]86-*-mingw32*) exeext='.exe' - # We assume you're using mingw32 via the gcc that comes - # with cygwin, and not the native port, so let's augment - # the gcc command-line used here with -mno-cygwin -mwin32 - # to arrange for good things to happen. - CFLAGS="-mno-cygwin -mwin32 $CFLAGS" TargetPlatform=i386-unknown-mingw32 ;; i[[3456]]86-apple-darwin*) @@ -148,10 +143,15 @@ FP_HAVE_GCC AC_PROG_CPP # -AC_OUTPUT(Makefile-vars) +dnl ** Check gcc version and flags we need to pass it ** +# +FP_GCC_EXTRA_FLAGS + +# +AC_CONFIG_FILES(extra-gcc-opts mk/config.mk) +AC_OUTPUT echo "****************************************************" -echo "Configuration done, ready to either 'make install'" -echo "or 'make in-place'." +echo "Configuration done, ready to 'make install'" echo "(see README and INSTALL files for more info.)" echo "****************************************************"