dirmngr: Allow building without LDAP support.
authorWerner Koch <wk@gnupg.org>
Fri, 17 Oct 2014 13:59:45 +0000 (15:59 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 17 Oct 2014 13:59:45 +0000 (15:59 +0200)
commit6d9491842d5da597980eaa59e1e3e2137965fe09
tree36008bfadfbb0a248d7b063130e27ba414cfc273
parenta13705f4c18db56765f4af31376e81241dbabebe
dirmngr: Allow building without LDAP support.

* configure.ac: Add option --disable-ldap.
(USE_LDAP): New ac_define and am_conditional.
* dirmngr/Makefile.am: Take care of USE_LDAP.
* dirmngr/dirmngr.c (!USE_LDAP): Make all ldap options dummy options
and do not call any ldap function.
* dirmngr/server.c (!USE_LDAP): Do not call any ldap function.
* dirmngr/crlfetch.c (!USE_LDAP): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
configure.ac
dirmngr/Makefile.am
dirmngr/crlfetch.c
dirmngr/dirmngr.c
dirmngr/server.c