X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=35ddbdb3cc21962d57192a3bd516bb3741247d7d;hb=a99906e5272be7c6212327a32c83eac0a9b08b4b;hp=c46d48db28badbe8052da8ecc696c02010463a3c;hpb=36cef1ea7f7e2dd68063598cdc23c4d1456f38ca;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index c46d48d..35ddbdb 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