summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-10-08 16:37:42 +0200
committerWerner Koch <wk@gnupg.org>2010-10-08 16:37:42 +0200
commita3335428becd9e18560e6ee98a196cd06eb9ee6c (patch)
tree8853ea7cc0e85ef696fc3da74231190f5867d52e /configure.ac
parentAdd new option --with-keygrip (diff)
downloadgnupg2-a3335428becd9e18560e6ee98a196cd06eb9ee6c.tar.xz
gnupg2-a3335428becd9e18560e6ee98a196cd06eb9ee6c.zip
New configure optionh --enable-dirmngr-auto-start.
autogen.sh enables this for CE.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8565b551d..cc13a13c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,7 @@ use_exec=yes
disable_keyserver_path=no
use_ccid_driver=yes
use_standard_socket=yes
+dirmngr_auto_start=no
try_ks_ldap=no
@@ -339,6 +340,22 @@ AC_ARG_ENABLE(ccid-driver,
use_ccid_driver=$enableval)
AC_MSG_RESULT($use_ccid_driver)
+#
+# Dirmngr is nowadays a system service and thus it usually does no
+# make sense to start it as needed. However on some systems this is
+# possible; this option enable the feature.
+#
+AC_MSG_CHECKING([whether to auto start dirmngr])
+AC_ARG_ENABLE(dirmngr-auto-start,
+ AC_HELP_STRING([--enable-dirmngr-auto-start],
+ [enable auto starting of the dirmngr]),
+ dirmngr_auto_start=$enableval)
+AC_MSG_RESULT($dirmngr_auto_start)
+if test "$dirmngr_auto_start" = yes ; then
+ AC_DEFINE(USE_DIRMNGR_AUTO_START,1,
+ [Define to enable auto starting of the dirmngr])
+fi
+
#
# To avoid double inclusion of config.h which might happen at some
@@ -1655,6 +1672,7 @@ echo "
Default dirmngr: $show_gnupg_dirmngr_pgm
Use standard socket: $use_standard_socket
+ Dirmngr auto start: $dirmngr_auto_start
"
if test x"$use_regex" != xyes ; then
echo "