summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2017-07-19 12:17:04 -0400
committerAdrian Thurston <thurston@colm.net>2017-07-19 12:17:04 -0400
commitbbfc82738f34d3fa45c64333b3d02550c93849f9 (patch)
treec7abf572c2174bdbdcdafb8d85cbbf240ed4cc16 /configure.ac
parent152832c0bb3c4bcd19709f02e0e70dee12c4c413 (diff)
downloadcolm-bbfc82738f34d3fa45c64333b3d02550c93849f9.tar.gz
try to build manual only if we have asciidoc and pygments
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 52881126..43e9f0af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AC_ARG_ENABLE(debug,
AC_CHECK_PROG([ASCIIDOC], [asciidoc], [asciidoc])
AC_CHECK_PROG([PYGMENTIZE], [pygmentize], [pygmentize])
+AM_CONDITIONAL([BUILD_MANUAL], [test "x$ASCIIDOC" != x && test "x$PYGMENTIZE" != x])
dnl write output files
AC_OUTPUT([