[project @ 2001-06-06 12:04:46 by simonmar]
[ghc-hetmet.git] / configure.in
index bb7748c..be31d69 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'
@@ -492,14 +493,12 @@ AC_SYS_INTERPRETER()
 dnl ** look for `perl', but only in /bin on Windows
 case $HostOS_CPP in
 cygwin32|mingw32)
-   if test x"$MinimalUnixDeps" = "xNO"; then
       AC_CHECK_PROG(PerlCmd,perl,/bin/perl,,/bin)
       if test -z "$PerlCmd"; then
          echo "You must install the version of Perl shipped with GHC"
          echo "(or a compatible one) in /bin."
          exit 1
       fi
-   fi
    ;;
 *)
    AC_PATH_PROG(PerlCmd,perl)