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. --- aclocal.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aclocal.m4') 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]) -- cgit v1.2.3