From 62a1429a5c54d83feb6024d6195c8539ea05541e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 10 Jan 2008 02:13:18 +0000 Subject: 2008-01-10 Marcus Brinkmann * gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf. --- tests/gpg/t-gpgconf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/gpg') diff --git a/tests/gpg/t-gpgconf.c b/tests/gpg/t-gpgconf.c index 458bbe75..a619a465 100644 --- a/tests/gpg/t-gpgconf.c +++ b/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); -- cgit v1.2.3