[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 05/09: -do not build gnunet-bcd if pdflatex is missing
From: |
gnunet |
Subject: |
[gnunet] 05/09: -do not build gnunet-bcd if pdflatex is missing |
Date: |
Thu, 25 Nov 2021 20:49:14 +0100 |
This is an automated email from the git hooks/post-receive script.
alessio-vanni pushed a commit to branch master
in repository gnunet.
commit 7f11a3f24dd0f047b6164d4ecc2b170ca79b683e
Author: Alessio Vanni <vannilla@firemail.cc>
AuthorDate: Sun Nov 14 22:28:12 2021 +0100
-do not build gnunet-bcd if pdflatex is missing
---
configure.ac | 11 +++++++++++
src/gns/Makefile.am | 2 ++
2 files changed, 13 insertions(+)
diff --git a/configure.ac b/configure.ac
index 5c6fedc8c..a1249d78e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,6 +265,10 @@ AS_IF([test -x "$AWK_BINARY"],
[AC_DEFINE([HAVE_AWK], [1], [Define to 1 if awk is available])],
[AC_DEFINE([HAVE_AWK], [0], [Define to 1 if awk is available])])
+# check for pdflatex to build gnunet-bcd
+AC_CHECK_PROG([PDFLATEX_BINARY], [pdflatex], [true], [false])
+AM_CONDITIONAL([HAVE_PDFLATEX], [$PDFLATEX_BINARY])
+
AC_ARG_WITH([gnunet-logread],
[AS_HELP_STRING([--with-gnunet-logread], [Install
gnunet-logread])],
[logread=yes],
@@ -1601,6 +1605,11 @@ AS_IF([test "x$gnutls" = "x0"],
AC_MSG_WARN([GnuTLS lacks DANE support; validation using it will not be
possible])],
[gnutls_msg="yes (with DANE support)"])])
+# pdflatex
+AS_IF([test "x$PDFLATEX_BINARY" = "xfalse"],
+ [latex_msg="no"],
+ [latex_msg="yes"])
+
# database backends
features_msg=""
@@ -1652,6 +1661,8 @@ ifconfig: ${ifconfig_msg}
UPnPc: ${upnpc_msg}
GnuTLS: ${gnutls_msg}
+LaTeX: ${latex_msg}
+
libextractor: ${libextractor_msg}
libzbar: ${libzbar_msg}
libpng: ${libpng_msg}
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am
index 3aaa734f2..ba46781f0 100644
--- a/src/gns/Makefile.am
+++ b/src/gns/Makefile.am
@@ -80,7 +80,9 @@ bin_PROGRAMS = \
noinst_PROGRAMS = \
gnunet-gns-benchmark
+if HAVE_PDFLATEX
bin_PROGRAMS += gnunet-bcd
+endif
REST_PLUGIN = libgnunet_plugin_rest_gns.la
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (63854ee52 -> a24bbd5b3), gnunet, 2021/11/25
- [gnunet] 04/09: -mallinfo is deprecated in favour of mallinfo2, gnunet, 2021/11/25
- [gnunet] 06/09: Fix gnunet-namestore's URI import, gnunet, 2021/11/25
- [gnunet] 02/09: Allow gnunet-qr to read codes from PNG pictures, gnunet, 2021/11/25
- [gnunet] 05/09: -do not build gnunet-bcd if pdflatex is missing,
gnunet <=
- [gnunet] 08/09: -also check for LaTeX packages used by gnunet-bcd, gnunet, 2021/11/25
- [gnunet] 03/09: Update configure.ac and a few macros used by it, gnunet, 2021/11/25
- [gnunet] 09/09: Merge branch 'dev/vanni/bcd-new', gnunet, 2021/11/25
- [gnunet] 01/09: Improve gnunet-bcd and update logo used in generated cards, gnunet, 2021/11/25
- [gnunet] 07/09: -accidentally broken uncrustify check, gnunet, 2021/11/25