diff --git a/configure.ac b/configure.ac index 621a764..e0bd01f 100644 --- a/configure.ac +++ b/configure.ac @@ -11,12 +11,7 @@ AC_ARG_ENABLE([man], AS_HELP_STRING([--disable-man], [Disable manpage generation]) ) -AS_IF([test "x$enable_man" != "xno"], - AS_IF([test "x$ASCIIDOC" != "xyes"], - AC_MSG_ERROR([AsciiDoc a2x program is required in order to build the manual]) - ) -) -AM_CONDITIONAL([ASCIIDOC], [test "x$enable_man" != "xno"]) +AM_CONDITIONAL([ASCIIDOC], [test "x$enable_man" != "xno" && test "x$ASCIIDOC" = "xyes"]) AC_ARG_WITH([libpng], AS_HELP_STRING([--without-libpng],