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.

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

index 94aa576030482f80cdff310c624a944c1814e61a..add52e71ad5f7795eba68b3f178e22be88d7d389 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 458bbe7575302dc56ab0c02a4f0616e2accbcd16..a619a46593e7a1a961a7e3b1366460195564ee08 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);