diff options
author | Pascal Ernster <bugs.freedesktop.org@hardfalcon.net> | 2013-08-16 13:42:33 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-08-16 13:42:33 +0200 |
commit | 2978f8fb27681e9f40575ae2be26012e8a54fc71 (patch) | |
tree | c24ce6ca5f0616ea7ee0ac33c95f4cdf3d315d75 /configure.ac | |
parent | c777194f0a8d00bcb4e1dc89beebcadf2249ddc0 (diff) | |
download | p11-kit-2978f8fb27681e9f40575ae2be26012e8a54fc71.tar.gz |
Add --with-module-config parameter to the configure script
https://bugs.freedesktop.org/show_bug.cgi?id=68122
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e57272b..13849c9 100644 --- a/configure.ac +++ b/configure.ac @@ -111,6 +111,11 @@ AC_CHECK_LIB(intl, dgettext) # ------------------------------------------------------------------------------ # PKCS#11 Directories +AC_ARG_WITH([module-config], + [AS_HELP_STRING([--with-module-config], [Module configuration files shipped by packages])], + [module_config=$withval], + [module_config='${pkgdatadir}/modules']) + AC_ARG_WITH([system-config], [AS_HELP_STRING([--with-system-config], [Change PKCS#11 system config directory])], [system_config_dir=$withval], @@ -130,7 +135,7 @@ AC_ARG_WITH([module-path], p11_system_config=$system_config_dir p11_system_config_file=$p11_system_config/pkcs11.conf p11_system_config_modules=$p11_system_config/modules -p11_package_config_modules='${pkgdatadir}/modules' +p11_package_config_modules=$module_config p11_user_config=$user_config_dir p11_user_config_file="$p11_user_config/pkcs11.conf" p11_user_config_modules="$p11_user_config/modules" |