summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-15 13:57:55 +0000
committerIan Lynagh <igloo@earth.li>2009-05-15 13:57:55 +0000
commit6caa45bf8762fe38bb8d43a6181276f132f3c728 (patch)
tree16c421cc68b4a22a2e309569eaa0e36cf33b2923 /aclocal.m4
parent7b45c46cbabe1288ea87bd9b94c57e010ed17e60 (diff)
downloadhaskell-6caa45bf8762fe38bb8d43a6181276f132f3c728.tar.gz
Move hasktags out of the GHC repo
Now configure looks for it as an installed program instead.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index c46d48db28..35ddbdb3cc 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -906,6 +906,18 @@ AC_SUBST([FopCmd])
])# FP_PROG_FOP
+# FP_PROG_HSTAGS
+# ----------------
+# Sets the output variable HstagsCmd to the full Haskell tags program path.
+# HstagsCmd is empty if no such program could be found.
+AC_DEFUN([FP_PROG_HSTAGS],
+[AC_PATH_PROG([HstagsCmd], [hasktags])
+if test -z "$HstagsCmd"; then
+ AC_MSG_WARN([cannot find hasktags in your PATH, you will not be able to build the tags])
+fi
+])# FP_PROG_HSTAGS
+
+
# FP_PROG_GHC_PKG
# ----------------
# Try to find a ghc-pkg matching the ghc mentioned in the environment variable