Skip to content

Commit

Permalink
configure: Don’t error out when a2x doesn’t exist
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chungy committed Aug 10, 2019
1 parent d9cf762 commit 0c39cbf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 0c39cbf

Please sign in to comment.