X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.in;h=515855115a3324451ea753f259e1612bed8b978f;hb=60cc861bdaf21786c34f2538886c09573396e5b7;hp=da73e8668ac93f3c2b8f61b0ad6e752dbd2c5f7f;hpb=827b49e5c1d8c93b00ad90603ad237a4e0fde406;p=ghc-hetmet.git diff --git a/configure.in b/configure.in index da73e86..5158551 100644 --- a/configure.in +++ b/configure.in @@ -355,15 +355,6 @@ if test "$GHC" = ""; then AC_PATH_PROG(GHC,ghc) fi -AC_ARG_WITH(hc, -[ --with-hc= - Use a command different from 'ghc' to compile generic Haskell code. -], -[WithHc="$withval"], -[WithHc=$GHC] -) -AC_SUBST(WithHc) - AC_ARG_WITH(ghc, [ --with-ghc= Use a command different from 'ghc' to compile GHC-specific Haskell code @@ -374,6 +365,15 @@ AC_ARG_WITH(ghc, ) AC_SUBST(WithGhc) +AC_ARG_WITH(hc, +[ --with-hc= + Use a command different from 'ghc' to compile generic Haskell code. +], +[WithHc="$withval"], +[WithHc=$WithGhc] +) +AC_SUBST(WithHc) + if test "$WithGhc" != ""; then FPTOOLS_GHC_VERSION([GhcVersion], [GhcMajVersion], [GhcMinVersion], [GhcPatchLevel])dnl AC_SUBST(GhcVersion)dnl @@ -510,6 +510,11 @@ FPTOOLS_HAVE_GCC dnl ** figure out how to invoke cpp directly (gcc -E is no good) AC_PROG_CPP +case $HostOS_CPP in +mingw32) + CPP="$CPP -mno-cygwin" + ;; +esac dnl ** figure out how to do context diffs FPTOOLS_PROG_DIFF @@ -842,6 +847,10 @@ else fi AC_SUBST(LibsReadline) +dnl ** check for math library +FPTOOLS_CHECK_LIBM() +AC_SUBST(LIBM) + dnl ################################################################ dnl Check for libraries dnl ################################################################