-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
35 lines (27 loc) · 868 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
AC_INIT([tig],[0],[Jonas Fonseca <[email protected]>],[tig])
AC_LANG([C])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR(tig.c)
dnl Document where we keep our .m4 file.
AC_CONFIG_MACRO_DIR([contrib])
dnl Make sure aclocal actually found it!
m4_pattern_forbid([^AX_])
AX_WITH_CURSES
case "$ax_cv_ncurses" in "no")
AC_MSG_ERROR([ncurses not found])
esac
case "$ax_cv_ncursesw" in "no")
AC_MSG_WARN([The found ncurses library does not support wide-char.])
AC_MSG_WARN([This means that tig will not correctly render UTF-8.])
esac
AC_SUBST(CURSES_LIB)
AM_ICONV
AC_PROG_CC
AC_CHECK_PROGS(ASCIIDOC, [asciidoc], [false])
AC_CHECK_PROGS(XMLTO, [xmlto], [false])
AC_CHECK_PROGS(DOCBOOK2PDF, [docbook2pdf], [false])
AC_CONFIG_FILES([config.make])
AC_OUTPUT
dnl Local Variables:
dnl eval: (font-lock-add-keywords nil '(("\\_<AX_\\sw+" . font-lock-keyword-face)))
dnl End: