From ca34fc317f7a812285805f0cc6b41ccae6d57434 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 9 Oct 2015 20:53:55 +0200 Subject: build: Fix libgcrypt detection on FHS systems. Reported by Christopher Allan Webber . * m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): Add "grep -e -L" to the pipeline to account for cases where the output of "libgcrypt-config --libs" lacks a -L flag. * configure.ac: When 'GUIX_LIBGCRYPT_LIBDIR' returns the empty string, set LIBGCRYPT_LIBDIR to "no". * config-daemon.ac: Add missing space. --- config-daemon.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config-daemon.ac') diff --git a/config-daemon.ac b/config-daemon.ac index f96cc8f7ac..8c1c776133 100644 --- a/config-daemon.ac +++ b/config-daemon.ac @@ -51,7 +51,7 @@ if test "x$guix_build_daemon" = "xyes"; then no) LIBGCRYPT_LIBS="-lgcrypt" ;; - *) + *) LIBGCRYPT_LIBS="-L$LIBGCRYPT_LIBDIR -lgcrypt" ;; esac -- cgit 1.4.1