It looks like JH_CHECK_XML_CATALOG has some prerequisite as well
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
https://bugzilla.gnome.org/show_bug.cgi?id=674483
[regenerate man pages from Docbook [default=no]])],enable_man=yes,
enable_man=no)
-if test "${enable_man}" != no; then
+AS_IF([test "${enable_man}" != no], [
dnl
dnl Check for xsltproc
dnl
[DocBook XML DTD V4.1.2],,enable_man=no)
JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
[DocBook XSL Stylesheets],,enable_man=no)
-fi
+])
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)