2008-01-10 Marcus Brinkmann <marcus@g10code.de>

* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
This commit is contained in:
Marcus Brinkmann 2008-01-10 02:13:18 +00:00
parent b55a4d7b31
commit 62a1429a5c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf.

View File

@ -254,6 +254,11 @@ main (int argc, char **argv)
gpgme_conf_comp_t conf;
gpgme_conf_comp_t comp;
int first;
#ifndef ENABLE_GPGCONF
return 0;
#endif
init_gpgme (GPGME_PROTOCOL_GPGCONF);
err = gpgme_new (&ctx);