chiark / gitweb /
build-sys: install pam module in $rootlibdir
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Jan 2012 02:51:52 +0000 (03:51 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Jan 2012 02:51:52 +0000 (03:51 +0100)
configure.ac

index fa2b0fe..636b69e 100644 (file)
@@ -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])