mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-11 22:01:08 +02:00
Check for lber and link dirmngr_ldap to it.
* configure.ac (LBER_LIBS, HAVE_LBER): New variables, check for lber. * dirmngr/Makefile.am (dirmngr_lda_LDADD): Add $(LBER_LIBS).
This commit is contained in:
parent
b817ae7df9
commit
76ff42ef8d
@ -1009,7 +1009,14 @@ AM_CONDITIONAL(USE_DNS_SRV, test x"$use_dns_srv" = xyes)
|
|||||||
#
|
#
|
||||||
if test "$try_ks_ldap" = yes || test "$build_dirmngr" = "yes" ; then
|
if test "$try_ks_ldap" = yes || test "$build_dirmngr" = "yes" ; then
|
||||||
GNUPG_CHECK_LDAP($NETLIBS)
|
GNUPG_CHECK_LDAP($NETLIBS)
|
||||||
|
AC_CHECK_LIB(lber, ber_free,
|
||||||
|
[ LBER_LIBS="$LBER_LIBS -llber"
|
||||||
|
AC_DEFINE(HAVE_LBER,1,
|
||||||
|
[defined if liblber is available])
|
||||||
|
have_lber=yes
|
||||||
|
])
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(LBER_LIBS)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for curl. We fake the curl API if libcurl isn't installed.
|
# Check for curl. We fake the curl API if libcurl isn't installed.
|
||||||
|
@ -72,7 +72,8 @@ dirmngr_ldap_SOURCES = dirmngr_ldap.c $(ldap_url)
|
|||||||
dirmngr_ldap_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
dirmngr_ldap_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||||
dirmngr_ldap_LDFLAGS =
|
dirmngr_ldap_LDFLAGS =
|
||||||
dirmngr_ldap_LDADD = $(libcommon) no-libgcrypt.o ../gl/libgnu.a $(DNSLIBS) \
|
dirmngr_ldap_LDADD = $(libcommon) no-libgcrypt.o ../gl/libgnu.a $(DNSLIBS) \
|
||||||
$(GPG_ERROR_LIBS) $(LDAPLIBS) $(LIBINTL) $(LIBICONV)
|
$(GPG_ERROR_LIBS) $(LDAPLIBS) $(LBER_LIBS) $(LIBINTL) \
|
||||||
|
$(LIBICONV)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dirmngr_client_SOURCES = dirmngr-client.c
|
dirmngr_client_SOURCES = dirmngr-client.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user