Skip to content

Commit 0c39cbf

Browse files
committed
configure: Don’t error out when a2x doesn’t exist
The change in 2019-06-23T06:03:29Z!vilhelm.gray@gmail.com started making it an error condition if a2x wasn’t found, which isn’t good. Repair the operation so it works normally.
1 parent d9cf762 commit 0c39cbf

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

configure.ac

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ AC_ARG_ENABLE([man],
1111
AS_HELP_STRING([--disable-man],
1212
[Disable manpage generation])
1313
)
14-
AS_IF([test "x$enable_man" != "xno"],
15-
AS_IF([test "x$ASCIIDOC" != "xyes"],
16-
AC_MSG_ERROR([AsciiDoc a2x program is required in order to build the manual])
17-
)
18-
)
19-
AM_CONDITIONAL([ASCIIDOC], [test "x$enable_man" != "xno"])
14+
AM_CONDITIONAL([ASCIIDOC], [test "x$enable_man" != "xno" && test "x$ASCIIDOC" = "xyes"])
2015

2116
AC_ARG_WITH([libpng],
2217
AS_HELP_STRING([--without-libpng],

0 commit comments

Comments
 (0)