Code

get_author_initials: various fixes
[tig.git] / configure.ac
1 AC_INIT([tig], [0], [Jonas Fonseca <fonseca@diku.dk>], [tig])
3 AC_LANG([C])
4 AC_CONFIG_HEADER(config.h)
5 AC_CONFIG_SRCDIR(tig.c)
7 AX_WITH_CURSES
8 case "$ax_cv_ncurses" in "no")
9         AC_ERROR([ncurses not found])
10 esac
11 case "$ax_cv_ncursesw" in "no")
12         AC_MSG_WARN([The found ncurses library does not support wide-char.])
13         AC_MSG_WARN([This means that tig will not correctly render UTF-8.])
14 esac
15 AC_SUBST(CURSES_LIB)
17 AM_ICONV
19 AC_PROG_CC
21 AC_CHECK_PROGS(ASCIIDOC, [asciidoc], [false])
22 AC_CHECK_PROGS(XMLTO, [xmlto], [false])
23 AC_CHECK_PROGS(DOCBOOK2PDF, [docbook2pdf], [false])
25 AC_CONFIG_FILES([config.make])
26 AC_OUTPUT