Add dependency to libgcrypt

We will use some libgcrypt functions, such as the error handling
functions, so make sure it os present and usable (the programs
already depends on Scdaemon being available, so we are not adding
any new dependency--all of GnuPG should already be there).
develop
Damien Goutte-Gattat 8 years ago
parent 3c12a5c2b6
commit dc817a13ab
  1. 5
      configure.ac

@ -19,6 +19,11 @@ dnl Check for some non-ubiquitous
ICP_CHECK_NOTCH_FUNCS
dnl Check for Assuan and libgpg-error
dnl Check for GnuPG libraries
AM_PATH_LIBGCRYPT([1.6.0],
[CFLAGS="$CFLAGS $LIBGCRYPT_CFLAGS"
LIBS="$LIBS $LIBGCRYPT_LIBS"],
[AC_MSG_ERROR([libgcrypt not found])])
AM_PATH_LIBASSUAN([2.1.0],
[CFLAGS="$CFLAGS $LIBASSUAN_CFLAGS"
LIBS="$LIBS $LIBASSUAN_LIBS"],

Loading…
Cancel
Save