1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-21 00:25:37 +00:00

[configure.ac] Show error message about libgcrypt-config. Refs #86

This commit is contained in:
Witold Filipczyk 2021-01-16 16:52:12 +01:00
parent df2540be55
commit f13022b36d

View File

@ -1224,6 +1224,11 @@ else
EL_CONFIG(CONFIG_GNUTLS, [GNUTLS])
chosen_ssl_library="GNUTLS"
AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no, $PATH)
if test "$LIBGCRYPT_CONFIG" = no; then
AC_MSG_ERROR([[libgcrypt-config not found.]])
fi
# gcry_create_nounce is part of libgcrypt
LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags`
LIBGCRYPT_LIBS=`libgcrypt-config --libs`