Commit 621b86f9 authored by Francois Cartegnie's avatar Francois Cartegnie

add gcrypt ac_define

parent 363acaf1
...@@ -3959,6 +3959,7 @@ AS_IF([test "${enable_libgcrypt}" != "no"], [ ...@@ -3959,6 +3959,7 @@ AS_IF([test "${enable_libgcrypt}" != "no"], [
AC_MSG_ERROR([gcrypt.h present but libgcrypt-config could not be found]) AC_MSG_ERROR([gcrypt.h present but libgcrypt-config could not be found])
AC_CHECK_LIB(gcrypt, gcry_control, [ AC_CHECK_LIB(gcrypt, gcry_control, [
have_libgcrypt="yes" have_libgcrypt="yes"
AC_DEFINE([HAVE_GCRYPT], 1, [Defined if having gcrypt])
GCRYPT_CFLAGS="`libgcrypt-config --cflags`" GCRYPT_CFLAGS="`libgcrypt-config --cflags`"
GCRYPT_LIBS="`libgcrypt-config --libs`" GCRYPT_LIBS="`libgcrypt-config --libs`"
], [ ], [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment