diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-12-02 23:55:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-12-02 23:55:52 +0900 |
| commit | 7a3faa625b5cec443b37c427277182b5ee545b6c (patch) | |
| tree | de474b4ac88d35fa957fd9f016a0ab7a429661a3 /configure.ac | |
| parent | 816be74e617761420fdf8dea1fbcd8af5528c615 (diff) | |
Check a2x, asciidoc presence and only build documents when they are
available.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 09c0615b..251e2240 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,14 @@ AC_PROG_MKDIR_P AC_PROG_RANLIB AC_PROG_YACC +AC_PATH_PROG([A2X], [a2x]) +AC_SUBST([A2X]) +AM_CONDITIONAL([HAVE_A2X], [ test "x$A2X" != "x" ]) + +AC_PATH_PROG([ASCIIDOC], [asciidoc]) +AC_SUBST([ASCIIDOC]) +AM_CONDITIONAL([HAVE_ASCIIDOC], [ test "x$ASCIIDOC" != "x" ]) + # Setting language choice AC_LANG([C++]) |
