Move nodelay logic to the get_input read loop
[tig.git] / configure.ac
blob27a78b12b5bc8e0a1ab8ecaee149cce850b4aae7
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 cursed=no
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])
16         esac
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.])
20 esac
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