From 03dfc28520b0fed460c361dd7a7203df73f1cbbc Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 10 Jan 2008 02:13:18 +0000 Subject: [PATCH] 2008-01-10 Marcus Brinkmann * gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf. --- trunk/tests/ChangeLog | 4 ++++ trunk/tests/gpg/t-gpgconf.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 94aa576..add52e7 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -1,3 +1,7 @@ +2008-01-10 Marcus Brinkmann + + * gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf. + 2008-01-04 Marcus Brinkmann * gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf. diff --git a/trunk/tests/gpg/t-gpgconf.c b/trunk/tests/gpg/t-gpgconf.c index 458bbe7..a619a46 100644 --- a/trunk/tests/gpg/t-gpgconf.c +++ b/trunk/tests/gpg/t-gpgconf.c @@ -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); -- 2.26.2