From 9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 5 Jan 2012 03:51:52 +0100 Subject: [PATCH] build-sys: install pam module in $rootlibdir --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index fa2b0fe9..636b69e6 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]) -- 2.39.5