summaryrefslogtreecommitdiff
path: root/aclocal.m4
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 /aclocal.m4
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 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 4f091fb8..911dca2b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -239,3 +239,7 @@ else
$3
fi[]dnl
])# PKG_CHECK_MODULES
+
+
+# Include files from m4/.
+m4_include([m4/libgcrypt.m4])