2008-01-10 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 10 Jan 2008 02:13:18 +0000 (02:13 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 10 Jan 2008 02:13:18 +0000 (02:13 +0000)
* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.

tests/ChangeLog
tests/gpg/t-gpgconf.c

index 94aa576..add52e7 100644 (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.
index 458bbe7..a619a46 100644 (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);