[project @ 2001-02-20 09:45:57 by simonpj]
[ghc-hetmet.git] / configure.in
index dbfe119..2b8d7c7 100644 (file)
@@ -207,6 +207,7 @@ i[[3456]]86-*-mingw32*)
        # the gcc command-line used here with -mno-cygwin to
        # arrange for good things to happen.
        CFLAGS="-mno-cygwin $CFLAGS"
+       CPPFLAGS="-mno-cygwin $CPPFLAGS"
         ;;
 m68k-next-nextstep2)
         HostPlatform_CPP='m68k_next_nextstep2'
@@ -842,6 +843,10 @@ else
 fi
 AC_SUBST(LibsReadline)
 
+dnl ** check for math library
+FPTOOLS_CHECK_LIBM()
+AC_SUBST(LIBM)
+
 dnl ################################################################
 dnl Check for libraries
 dnl ################################################################