configure: add check for asciidoc
authorMiklos Vajna <vmiklos@frugalware.org>
Mon, 5 Nov 2007 11:22:40 +0000 (12:22 +0100)
committerMiklos Vajna <vmiklos@frugalware.org>
Mon, 5 Nov 2007 11:22:40 +0000 (12:22 +0100)
configure.ac

index 9b40e90..e800647 100644 (file)
@@ -50,6 +50,11 @@ if test "$enable_doxygen" != "no"; then
        AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, [])
 fi
 
+AC_ARG_ENABLE([asciidoc], AS_HELP_STRING([--disable-asciidoc], [Disable asciidoc support (default: test)]))
+if test "$enable_asciidoc" != "no"; then
+       AC_CHECK_PROG(DOXYGEN, asciidoc, asciidoc, [])
+fi
+
 AC_ARG_ENABLE([po4a], AS_HELP_STRING([--disable-po4a], [Disable po4a support (default: test)]))
 if test "$enable_po4a" != "no"; then
        AC_CHECK_PROG(PO4A, po4a, po4a, [])