Remove the (very) old strictness analyser
[ghc-hetmet.git] / configure.ac
index 0af10c1..aa333f6 100644 (file)
@@ -428,6 +428,21 @@ FP_ARG_WITH_PATH_GNU_PROG([LD], [ld])
 LdCmd="$LD"
 AC_SUBST([LdCmd])
 
+dnl ** Check for dlltool on Windows
+dnl --------------------------------------------------------------
+case $HostOS_CPP in
+cygwin32|mingw32)
+       AC_PATH_PROG(DlltoolCmd,dlltool)
+       if test -z "$DlltoolCmd"; then
+         echo "Can't find dlltool in your path, can't make DLLs."
+         exit 1
+       fi
+       ;;
+*)
+       AC_SUBST(DlltoolCmd,"")
+       ;;
+esac
+
 dnl ** Which nm to use?
 dnl --------------------------------------------------------------
 FP_ARG_WITH_PATH_GNU_PROG([NM], [nm])
@@ -543,7 +558,7 @@ AC_PATH_PROG(TimeCmd,time)
 
 dnl ** check for tar
 dnl   if GNU tar is named gtar, look for it first.
-AC_PATH_PROGS(TarCmd,gtar tar,tar)
+AC_PATH_PROGS(TarCmd,gnutar gtar tar,tar)
 
 dnl ** check for patch
 dnl if GNU patch is named gpatch, look for it first