From 74f4e5781e0f259a22b8e1e125973262600abed7 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 2 Jun 2017 17:23:03 +0200 Subject: 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. --- config.make.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.make.in') 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@ -- cgit v1.2.3