Code

gcrypt: take search path into account
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)
configure.ac

index 9fde51824d30f52722de39c55ef7faf57cf194d0..e3732fae3f286e40099a205511406dcfba46775a 100644 (file)
@@ -2018,8 +2018,10 @@ fi
 
 SAVE_CPPFLAGS="$CPPFLAGS"
 SAVE_LDFLAGS="$LDFLAGS"
+SAVE_LIBS="$LIBS"
 CPPFLAGS="$CPPFLAGS $GCRYPT_CPPFLAGS"
 LDFLAGS="$LDFLAGS $GCRYPT_LDFLAGS"
+LIBS="$LIBS $GCRYPT_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"
 then
@@ -2047,6 +2049,7 @@ fi
 
 CPPFLAGS="$SAVE_CPPFLAGS"
 LDFLAGS="$SAVE_LDFLAGS"
+LIBS="$SAVE_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"
 then