[PATCH nft] configure.ac: docbook2man invalid syntax error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



docbook2man can not be used with the same option so let's remove
it from the alternative. Fedora and debian seems to be fine with
that.
---
 configure.ac | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2a19733..88f0d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,14 +56,11 @@ AM_PROG_LIBTOOL
 
 AM_COND_IF([BUILD_MAN], [
 	AC_CHECK_PROG(DOCBOOK2X_MAN, [docbook2x-man], [docbook2x-man], [no])
-	AC_CHECK_PROG(DOCBOOK2MAN, [docbook2man], [docbook2man], [no])
 	AC_CHECK_PROG(DB2X_DOCBOOK2MAN, [db2x_docbook2man], [db2x_docbook2man], [no])
 	AS_IF([test "$DOCBOOK2X_MAN" != "no"], [DB2MAN="$DOCBOOK2X_MAN"],
-	      [AS_IF([test "$DOCBOOK2MAN" != "no"], [DB2MAN="$DOCBOOK2MAN"],
-		     [AS_IF([test "$DB2X_DOCBOOK2MAN" != "no"],
-			    [DB2MAN="$DB2X_DOCBOOK2MAN"],
-			    [AC_MSG_ERROR([docbook2x-man/db2x_docbook2man not found, required for building man pages])]
-		     )]
+	     [AS_IF([test "$DB2X_DOCBOOK2MAN" != "no"],
+		    [DB2MAN="$DB2X_DOCBOOK2MAN --xinclude"],
+		    [AC_MSG_ERROR([docbook2x-man/db2x_docbook2man not found, required for building man pages])]
 	     )]
 	)
 	AC_SUBST(DB2MAN)
-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux