mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: Make building with a TLS library mandatory
* configure.ac: Do not build dirmngr if no TLS is available. * dirmngr/http.c: Remove all uses of the USE_TLS macro. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8fb14d3b3f
commit
1009e4e5f7
2 changed files with 37 additions and 59 deletions
|
@ -1026,7 +1026,7 @@ AC_ARG_ENABLE(npth-debug,
|
|||
|
||||
|
||||
#
|
||||
# NTBTLS is our TLS library. If it is not available fallback to
|
||||
# NTBTLS is our TLS library. If it is not available we fall back to
|
||||
# GNUTLS.
|
||||
#
|
||||
AC_ARG_ENABLE(ntbtls,
|
||||
|
@ -1057,9 +1057,10 @@ else
|
|||
AC_DEFINE(HTTP_USE_GNUTLS, 1, [Enable GNUTLS support in http.c])
|
||||
else
|
||||
tmp=$(echo "$LIBGNUTLS_PKG_ERRORS" | tr '\n' '\v' | sed 's/\v/\n*** /g')
|
||||
build_dirmngr=no
|
||||
AC_MSG_WARN([[
|
||||
***
|
||||
*** Building without NTBTLS and GNUTLS - no TLS access to keyservers.
|
||||
*** Neither NTBTLS nor GNUTLS available - not building dirmngr.
|
||||
***
|
||||
*** $tmp]])
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue