[PATCH] nft: doc: changes in configure file for PDF creation

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

 



changes in package dependencies for PDF creation (nft.pdf) from asciidoc.

Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx>
---
 configure.ac | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index c1c9035..06f15c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,14 +57,8 @@ AM_PROG_LIBTOOL
 AC_CHECK_PROG(A2X, [a2x], [a2x])
 AM_CONDITIONAL([BUILD_MAN], [test -n "$A2X"])
 
-AM_COND_IF([BUILD_PDF], [
-	AC_CHECK_PROG(DBLATEX, [dblatex], [found], [no])
-	AS_IF([test "$DBLATEX" == "no"],
-	      [AC_MSG_ERROR([dblatex not found])])
-	AS_IF([test -z "$A2X"],
-	      [AC_MSG_ERROR([a2x not found])])
-	[need_a2x=yes]
-])
+AC_CHECK_PROG(A2X, [a2x], [a2x])
+AM_CONDITIONAL([BUILD_PDF], [test -n "$A2X"])
 
 AS_IF([test "$need_a2x" = "yes"], [
        AC_CHECK_PROG(A2X, [a2x], [found], [no])
-- 
2.7.4

--
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