1 AC_INIT([tig],[0],[Jonas Fonseca <fonseca@diku.dk>],[tig])
4 AC_CONFIG_HEADER(config.h)
5 AC_CONFIG_SRCDIR(tig.c)
7 dnl Document where we keep our .m4 file.
8 AC_CONFIG_MACRO_DIR([contrib])
9 dnl Make sure aclocal actually found it!
10 m4_pattern_forbid([^AX_])
13 case "$ax_cv_ncurses" in "no")
14 AC_MSG_ERROR([ncurses not found])
16 case "$ax_cv_ncursesw" in "no")
17 AC_MSG_WARN([The found ncurses library does not support wide-char.])
18 AC_MSG_WARN([This means that tig will not correctly render UTF-8.])
26 AC_CHECK_PROGS(ASCIIDOC, [asciidoc], [false])
27 AC_CHECK_PROGS(XMLTO, [xmlto], [false])
28 AC_CHECK_PROGS(DOCBOOK2PDF, [docbook2pdf], [false])
30 AC_CONFIG_FILES([config.make])
34 dnl eval: (font-lock-add-keywords nil '(("\\_<AX_\\sw+" . font-lock-keyword-face)))