[project @ 2001-05-25 18:32:51 by sof]
[ghc-hetmet.git] / configure.in
index 3ed8baa..ed320f1 100644 (file)
@@ -207,6 +207,7 @@ i[[3456]]86-*-mingw32*)
        # the gcc command-line used here with -mno-cygwin -mwin32
        # to arrange for good things to happen.
        CFLAGS="-mno-cygwin -mwin32 $CFLAGS"
+       CPPFLAGS="-mno-cygwin -mwin32 $CPPFLAGS"
         ;;
 m68k-next-nextstep2)
         HostPlatform_CPP='m68k_next_nextstep2'
@@ -840,7 +841,7 @@ fi
 
 if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then
   AC_DEFINE(HAVE_READLINE_LIBS,1)
-  LibsReadline="-lreadline -l$LibTermcap"
+  LibsReadline="readline $LibTermcap"
 else
   AC_DEFINE(HAVE_READLINE_LIBS,0)
   LibsReadline=