summary refs log tree commit diff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-09 20:53:55 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-09 20:57:24 +0200
commitca34fc317f7a812285805f0cc6b41ccae6d57434 (patch)
tree46c484f904014f20acef0687d26420abb0e67181 /config-daemon.ac
parent1de2fe95e017c42aacbaa34f5dab8d48249cc064 (diff)
downloadguix-ca34fc317f7a812285805f0cc6b41ccae6d57434.tar.gz
build: Fix libgcrypt detection on FHS systems.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* 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.
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac2
1 files changed, 1 insertions, 1 deletions
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