summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])