Fix display of all branches labels in repos with short branch names
[tig.git] / configure.ac
blob8dd250870c7514c9f91c4dad6284e0da4188fc93
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 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_])
12 AX_WITH_CURSES
13 case "$ax_cv_ncurses" in "no")
14         AC_MSG_ERROR([ncurses not found])
15 esac
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.])
19 esac
20 AC_SUBST(CURSES_LIB)
22 AM_ICONV
24 AC_PROG_CC
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])
31 AC_OUTPUT
33 dnl Local Variables:
34 dnl eval: (font-lock-add-keywords nil '(("\\_<AX_\\sw+" . font-lock-keyword-face)))
35 dnl End: