diff options
| author | Marcus Brinkmann <[email protected]> | 2008-01-10 02:13:18 +0000 | 
|---|---|---|
| committer | Marcus Brinkmann <[email protected]> | 2008-01-10 02:13:18 +0000 | 
| commit | 62a1429a5c54d83feb6024d6195c8539ea05541e (patch) | |
| tree | 085e74b1ec3f02a4dede3b934537cb22fb3bccd7 /tests/gpg/t-gpgconf.c | |
| parent | 2008-01-04 Marcus Brinkmann <[email protected]> (diff) | |
| download | gpgme-62a1429a5c54d83feb6024d6195c8539ea05541e.tar.gz gpgme-62a1429a5c54d83feb6024d6195c8539ea05541e.zip | |
2008-01-10  Marcus Brinkmann  <[email protected]>
	* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
Diffstat (limited to 'tests/gpg/t-gpgconf.c')
| -rw-r--r-- | tests/gpg/t-gpgconf.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| 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); | 
