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