summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-05 18:25:53 +0000
committerIan Lynagh <igloo@earth.li>2008-09-05 18:25:53 +0000
commit5c1039224e8595ed2acd6518316a1075f5a6b78a (patch)
tree237bcacf35b321febfd2bc40db6aa5617523e6c4 /aclocal.m4
parentd1876c6ae9cf821685a7035bea728f9fb1b12899 (diff)
downloadhaskell-5c1039224e8595ed2acd6518316a1075f5a6b78a.tar.gz
Remove the haddock detection
Now that we build haddock in the GHC build, we don't need to look for it on the path.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f739bfe3f1..99a4d03ff6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -254,27 +254,6 @@ AC_SUBST(HappyVersion)
])
dnl
-dnl Check for Haddock and version. If there's no installed Haddock, we look
-dnl for a haddock source tree and point the build system at that instead.
-dnl
-AC_DEFUN([FPTOOLS_HADDOCK],
-[AC_PATH_PROG(HaddockCmd,haddock,)
-dnl Darn, I forgot to make Haddock print out its version number when
-dnl invoked with -v. We could try generating some HTML and grepping
-dnl through that to find the version number, but I think we'll make
-dnl do without it for now.
-# Haddock is passed to Cabal, so we need a native path
-if test "x$HostPlatform" = "xi386-unknown-mingw32" && \
- test "${OSTYPE}" != "msys" && \
- test "${HaddockCmd}" != ""
-then
- # Canonicalise to <drive>:/path/to/gcc
- HaddockCmd=`cygpath -m ${HaddockCmd}`
- AC_MSG_NOTICE([normalized haddock command to $HaddockCmd])
-fi
-])
-
-dnl
dnl Check for Alex and version. If we're building GHC, then we need
dnl at least Alex version 2.0.1.
dnl