Fixed spurious "/bin/sh: --list: command not found" error
[tig] / configure.ac
... / ...
CommitLineData
1AC_INIT([tig], [0],
2 [Jonas Fonseca <fonseca@diku.dk>],
3 [tig])
4AC_LANG([C])
5AC_CONFIG_HEADER(config.h)
6AC_CONFIG_SRCDIR(tig.c)
7
8AC_SEARCH_LIBS([wclear], [ncurses curses])
9AM_ICONV
10
11AC_PROG_CC
12AC_CHECK_PROGS(GIT_CONFIG, [git-config git-repo-config])
13if test "${ac_cv_prog_GIT_CONFIG}" = ""; then
14 AC_CHECK_PROGS(GIT, [git])
15 GIT_CONFIG="${ac_cv_prog_GIT} config"
16fi
17AC_DEFINE_UNQUOTED(GIT_CONFIG,"$GIT_CONFIG",[git config program])
18AC_CHECK_PROGS(ASCIIDOC, [asciidoc false])
19AC_CHECK_PROGS(XMLTO, [xmlto false])
20AC_CHECK_PROGS(DOCBOOK2PDF, [docbook2pdf false])
21
22AC_CONFIG_FILES([config.make])
23AC_OUTPUT