diff mbox series

nft: doc: changes in configure file for PDF creation

Message ID 20180731154024.GA4103@arushi-HP-Laptop-15-bs1xx
State Changes Requested
Delegated to: Pablo Neira
Headers show
Series nft: doc: changes in configure file for PDF creation | expand

Commit Message

Arushi Singhal July 31, 2018, 3:40 p.m. UTC
changes in package dependencies for PDF creation (nft.pdf) from asciidoc.

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

Comments

Pablo Neira Ayuso Aug. 3, 2018, 3:41 p.m. UTC | #1
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@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])

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

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