On Tue, Jul 31, 2018 at 09:10:24PM +0530, Arushi Singhal wrote: > 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]) This check for A2X is already here above. > 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]) Do we need to make it again? > +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