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

Signed-off-by: Arushi Singhal <arushisinghal19971...@gmail.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to