From 4a3a1e0b8ad676f057e4fb141b4692987e8ce558 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 18 Jul 2011 11:09:41 -0400 Subject: 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.1