summaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-06-02 17:23:03 +0200
committerJustus Winter <justus@gnupg.org>2017-06-04 19:03:25 +0200
commit74f4e5781e0f259a22b8e1e125973262600abed7 (patch)
tree5838e8459e3a4521279f643a22fb38a60887ac83 /config.make.in
parent29ff193d27436e52d8112903c882ebe52f071d88 (diff)
trans: Conditionally build the random translator.
Only build the random translator if we find a suitable version of libgcrypt. This helps to reduce the build dependencies to bootstrap the Hurd. * aclocal.m4: Include 'libgcrypt.m4'. * config.make.in (HAVE_LIBGCRYPT): New variable. * configure.ac: Check for a suitable libgcrypt. * m4/libgcrypt.m4: New file. * trans/Makefile: Conditionally build the random translator.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 0f1390a7..4f2f1feb 100644
--- a/config.make.in
+++ b/config.make.in
@@ -98,6 +98,9 @@ libblkid_LIBS = @libblkid_LIBS@
# Whether Sun RPC support is available.
HAVE_SUN_RPC = @HAVE_SUN_RPC@
+# Whether we found libgcrypt.
+HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@
+
# Installation tools.
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@