build: Fix libgcrypt detection on FHS systems.
authorLudovic Courtès <ludo@gnu.org>
Fri, 9 Oct 2015 18:53:55 +0000 (20:53 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Oct 2015 18:57:24 +0000 (20:57 +0200)
commitca34fc317f7a812285805f0cc6b41ccae6d57434
tree46c484f904014f20acef0687d26420abb0e67181
parent1de2fe95e017c42aacbaa34f5dab8d48249cc064
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.
config-daemon.ac
configure.ac
m4/guix.m4