mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[configure.ac] Show error message about libgcrypt-config. Refs #86
This commit is contained in:
parent
df2540be55
commit
f13022b36d
@ -1224,6 +1224,11 @@ else
|
|||||||
EL_CONFIG(CONFIG_GNUTLS, [GNUTLS])
|
EL_CONFIG(CONFIG_GNUTLS, [GNUTLS])
|
||||||
chosen_ssl_library="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
|
# gcry_create_nounce is part of libgcrypt
|
||||||
LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags`
|
LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags`
|
||||||
LIBGCRYPT_LIBS=`libgcrypt-config --libs`
|
LIBGCRYPT_LIBS=`libgcrypt-config --libs`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user