configure.ac: more AS_IF
authorMichael Olbrich <m.olbrich@pengutronix.de>
Mon, 7 May 2012 08:33:44 +0000 (10:33 +0200)
committerColin Walters <walters@verbum.org>
Mon, 7 May 2012 21:18:06 +0000 (17:18 -0400)
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

configure.ac

index 37daa547ceacd26fa3dec07041d64528a03b22e5..84a48bc440e3a0b34343201349106adba7fa7b3c 100644 (file)
@@ -2591,7 +2591,7 @@ AC_ARG_ENABLE(man,
                               [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
@@ -2605,7 +2605,7 @@ AC_PATH_PROG([XSLTPROC], [xsltproc])
      [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)