diff options
author | Colin Walters <walters@verbum.org> | 2011-07-18 11:09:41 -0400 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-07-21 13:15:44 +0200 |
commit | 4a3a1e0b8ad676f057e4fb141b4692987e8ce558 (patch) | |
tree | 06610e4285da71c26bfd3860c5014a5dbdcb05e4 | |
parent | 43cf13e1a25da76297cd3397569031d7c3fd3a09 (diff) |
configure: Use $sysconfdir for p11_system_conf dir, not hardcoded /etc
If the user specified sysconfdir, we should respect it. Don't
hardcode /etc. This is important for jhbuild, which uses
/path/to/builddir/etc.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 33b0b92..1c64fa8 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ GTK_DOC_CHECK([1.15]) AC_ARG_WITH([pkcs11-dir], [AS_HELP_STRING([--with-pkcs11-dir], [Change PKCS#11 system config directory])], [pkcs11_dir=$withval], - [pkcs11_dir=/etc/pkcs11]) + [pkcs11_dir=$sysconfdir/pkcs11]) p11_system_conf="$pkcs11_dir/pkcs11.conf" p11_system_modules="$pkcs11_dir/modules" |