summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: caf9ddf)
raw | patch | inline | side by side (parent: caf9ddf)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 4 Aug 2015 13:28:03 +0000 (15:28 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 4 Aug 2015 13:36:16 +0000 (15:36 +0200) |
libgcrypt-config --libs already includes the correct library include path.
Also, we hardcoded it to $exec-prefix/lib, which is just plain wrong on
64bit architectures.
Also, we hardcoded it to $exec-prefix/lib, which is just plain wrong on
64bit architectures.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 9c2f32af8177089ee95cbaedf051cf10fcc5d2f1..9fde51824d30f52722de39c55ef7faf57cf194d0 100644 (file)
--- a/configure.ac
+++ b/configure.ac
GCRYPT_CPPFLAGS=`"$with_libgcrypt_config" --cflags 2>/dev/null`
fi
- if test "x$GCRYPT_LDFLAGS" = "x"
- then
- gcrypt_exec_prefix=`"$with_libgcrypt_config" --exec-prefix 2>/dev/null`
- GCRYPT_LDFLAGS="-L$gcrypt_exec_prefix/lib"
- fi
-
if test "x$GCRYPT_LIBS" = "x"
then
GCRYPT_LIBS=`"$with_libgcrypt_config" --libs 2>/dev/null`
if test "x$with_libgcrypt" = "xyes"
then
- if test "x$GCRYPT_LDFLAGS" != "x"
- then
- AC_MSG_NOTICE([gcrypt LDFLAGS: $GCRYPT_LDFLAGS])
- fi
AC_CHECK_LIB(gcrypt, gcry_md_hash_buffer,
[with_libgcrypt="yes"],
[with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"])