]> granicus.if.org Git - p11-kit/commitdiff
Use $XDG_CONFIG_HOME/pkcs11 as default user config directory
authorStef Walter <stef@thewalter.net>
Thu, 18 Jul 2013 10:50:34 +0000 (12:50 +0200)
committerStef Walter <stef@thewalter.net>
Thu, 18 Jul 2013 11:05:26 +0000 (13:05 +0200)
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.

configure.ac

index 282fee841b8f87226b2fe1e749cf7f2c2d063d9f..116fe7856556d063888549a1ffaf3e77b76edff1 100644 (file)
@@ -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])],