X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;h=abaec2cdb7d25df3c1240755438babf8f8cfa39f;hb=0da033a03fd15dee4a99acd0173e052035fb4cc9;hp=ee175dbe38b3c846081d1e6dea395314855a8f6a;hpb=b340cbf1403a5f5b181a215935f713a50da8e5e4;p=fw%2Faltos 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],