Home GnuPG
Diffusion GnuPG 5cde5bf37339

dirmngr: If LDAP is not enable, don't build the LDAP bits.
5cde5bf37339Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: If LDAP is not enable, don't build the LDAP bits.

* dirmngr/Makefile.am (dirmngr_SOURCES): Only include
ks-engine-ldap.c, ldap-parse-uri.c and ldap-parse-uri.h if USE_LDAP
is TRUE.
(module_tests): Only add t-ldap-parse-uri if USE_LDAP is TRUE.
* dirmngr/ks-action.c: Only include "ldap-parse-uri.h" if USE_LDAP is
TRUE.
(ks_action_help): Don't invoke LDAP functionality if USE_LDAP is not
TRUE.
(ks_action_search): Likewise.
(ks_action_get): Likewise.
(ks_action_put): Likewise.
* dirmngr/server.c: Only include "ldap-parse-uri.h" if USE_LDAP is
TRUE.
(cmd_keyserver): Don't invoke LDAP functionality if USE_LDAP is not
TRUE.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T1949

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Apr 13 2015, 12:02 PM
Parents
rG454f60399c73: common: Do without nested fucntions to support non-gcc.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG5cde5bf37339: dirmngr: If LDAP is not enable, don't build the LDAP bits. (authored by Neal H. Walfield <neal@g10code.com>).Apr 13 2015, 12:02 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:06 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:29 PM