1 AC_INIT([tig], [0], [Jonas Fonseca <fonseca@diku.dk>], [tig])
4 AC_CONFIG_HEADER(config.h)
5 AC_CONFIG_SRCDIR(tig.c)
8 AC_CHECK_HEADERS([ncursesw/ncurses.h],
9 [AC_SEARCH_LIBS([initscr], [ncursesw], [cursed=yes])])
10 case "$cursed" in "no")
11 AC_CHECK_HEADERS([ncurses/ncurses.h ncurses.h],
12 [AC_SEARCH_LIBS([wclear], [ncurses], [cursed=yes])])
14 case "$cursed" in "no")
15 AC_ERROR([ncurses not found])
18 AC_MSG_WARN([The found ncurses library does not support wide-char.])
19 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])