]> granicus.if.org Git - libexpat/commitdiff
Fix configure syntax error (#165)
authorSebastian Pipping <sebastian@pipping.org>
Thu, 2 Nov 2017 20:59:38 +0000 (21:59 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Thu, 2 Nov 2017 21:20:11 +0000 (22:20 +0100)
expat/Changes
expat/configure.ac

index 5d07aab3ca6a36d5d2ffa1cc8fd4aff9e5a8c983..9ac7141c5c4554cdfa761efe2f7223ccc4bed9e4 100644 (file)
@@ -4,6 +4,7 @@ NOTE: We are looking for help with a few things:
 
 Release 2.2.? ???????????????????
         Other changes:
+            #165  Autotools: Fix docbook-related configure syntax error
             #166  Autotools: Avoid grep option `-q` for Solaris
             #167  Autotools: Support
                     ./configure DOCBOOK_TO_MAN="xmlto man --skip-validation"
index b4e56dfd0d6b30b8906af5f083284aba6f8b328c..1dab0e7595725ebdb6a02d6b77ad8b0fe1dc1722 100644 (file)
@@ -237,9 +237,9 @@ AS_HELP_STRING([--without-docbook],
 
 AC_ARG_VAR([DOCBOOK_TO_MAN], [docbook2x-man command])
 AS_IF([test "x$with_docbook" != xno],
-  [AC_CHECK_PROGS([DOCBOOK_TO_MAN], [docbook2x-man docbook2man docbook-to-man],
-  [if test "x$with_docbook" != xcheck; then 
-    AC_MSG_ERROR([Required program 'docbook2x-man' not found.])])])
+  [AC_CHECK_PROGS([DOCBOOK_TO_MAN], [docbook2x-man docbook2man docbook-to-man])])
+AS_IF([test "x${DOCBOOK_TO_MAN}" = x -a "x$with_docbook" = xyes],
+  [AC_MSG_ERROR([Required program 'docbook2x-man' not found.])])
 
 AM_CONDITIONAL(WITH_DOCBOOK, [test "x${DOCBOOK_TO_MAN}" != x])