summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-05 03:51:52 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-05 03:51:52 +0100
commit9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5e (patch)
treeb1e415e91f14246eadd9fbc1c540f84dfa19ecee
parenteb7bbee6cd182d5c4eb1e1180631c35158f59379 (diff)
build-sys: install pam module in $rootlibdir
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index fa2b0fe92c..636b69e677 100644
--- a/configure.ac
+++ b/configure.ac
@@ -597,11 +597,6 @@ AC_ARG_WITH([udevrulesdir],
[],
[with_udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d])
-AC_ARG_WITH([pamlibdir],
- AS_HELP_STRING([--with-pamlibdir=DIR], [Diectory for PAM modules]),
- [],
- [with_pamlibdir=/lib/`$CC -print-multi-os-directory`/security])
-
AC_ARG_WITH([rootprefix],
AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
[], [with_rootprefix=${prefix}])
@@ -611,6 +606,11 @@ AC_ARG_WITH([rootlibdir],
[],
[with_rootlibdir=${libdir}])
+AC_ARG_WITH([pamlibdir],
+ AS_HELP_STRING([--with-pamlibdir=DIR], [Diectory for PAM modules]),
+ [],
+ [with_pamlibdir=${with_rootlibdir}/security])
+
AC_SUBST([dbuspolicydir], [$with_dbuspolicydir])
AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir])
AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir])