summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2019-01-02 23:04:43 -0700
committerBdale Garbee <bdale@gag.com>2019-01-02 23:04:43 -0700
commit0c866022a50b65e65b785c0ad2c289a00c2830d6 (patch)
tree7a19e4e05c78d2ca9b2b900506dc2d5aa9f6d81c /configure.ac
parent6cd063179ddf862654cbc5469afbd123556bd31b (diff)
parent5b4da841459a650e641924aab132f566c6259c4d (diff)
Merge branch 'branch-1.9' into debian
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ee175dbe..abaec2cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -386,6 +386,12 @@ if test "x$HAVE_NICKLE" = "xno"; then
AC_MSG_ERROR([Please install nickle to build AltOs])
fi
+AC_CHECK_PROG([HAVE_ASCIIDOCTOR_PDF], [asciidoctor-pdf], yes, no)
+if test "x$HAVE_ASCIIDOCTOR_PDF" = "xno"; then
+ AC_MSG_WARN([asciidoctor-pdf not found, PDF docs will not be built])
+fi
+AM_CONDITIONAL([ASCIIDOCTOR_PDF], [test x$HAVE_ASCIIDOCTOR_PDF != xno])
+
PKG_CHECK_MODULES([JANSSON], [jansson])
AC_ARG_WITH([readline],