summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-18 12:50:34 +0200
committerStef Walter <stef@thewalter.net>2013-07-18 13:05:26 +0200
commit91bbe5ad80a760a58d5eba48f65ddd07fa56a953 (patch)
treea296c766dc2034e4fb97111a51826d9ceb933f5e
parenta1a398ae150cee642efaa03f28e8457c75185d55 (diff)
downloadp11-kit-91bbe5ad80a760a58d5eba48f65ddd07fa56a953.tar.gz
Use $XDG_CONFIG_HOME/pkcs11 as default user config directory
By default this evaluates to ~/.config/pkcs11. This is a somewhat backwards incompatible change. However so far only advanced users have been exposed to the user p11-kit configuration. Distributors are able to revert this if necessary with a --with-user-config='~/.pkcs11' ./configure option.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 282fee8..116fe78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,7 +118,7 @@ AC_ARG_WITH([system-config],
AC_ARG_WITH([user-config],
[AS_HELP_STRING([--with-system-config], [Change PKCS#11 user config directory])],
[user_config_dir=$withval],
- [user_config_dir="~/.pkcs11"])
+ [user_config_dir="~/.config/pkcs11"])
AC_ARG_WITH([module-path],
[AS_HELP_STRING([--with-module-path], [Load modules with relative path names from here])],