summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-01-08 11:47:07 +0100
committerWerner Koch <wk@gnupg.org>2014-01-08 11:47:07 +0100
commit75ba215ebd8be7e14b26bb53ef3c7d41e4ce1e02 (patch)
tree3e3f63f0e8e680db32b261ea91091de7499cd96e /configure.ac
parentgpg: Change --show-session-key to print the session key earlier. (diff)
downloadgnupg2-75ba215ebd8be7e14b26bb53ef3c7d41e4ce1e02.tar.xz
gnupg2-75ba215ebd8be7e14b26bb53ef3c7d41e4ce1e02.zip
w32: Add macro for the registry key.
* configure.ac (GNUPG_REGISTRY_DIR) [W32]: New ac-define. * common/homedir.c (default_homedir): Use it. * common/logging.c (do_logv): Use it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fa841c4c9..a206188ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1600,6 +1600,11 @@ AC_DEFINE_UNQUOTED(DIRMNGR_SOCK_NAME, "S.dirmngr",
AC_DEFINE_UNQUOTED(GPGEXT_GPG, "gpg", [The standard binary file suffix])
+if test "$have_w32_system" = yes; then
+ AC_DEFINE_UNQUOTED(GNUPG_REGISTRY_DIR, "\\Software\\GNU\\GnuPG",
+ [The directory part of the W32 registry keys])
+fi
+
#
# Provide information about the build.