X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=4c8b1156743f733a7eaf87ee547093e1ed34cc51;hb=39ad55a9aa99451f982628af6e14581092b2d2f6;hp=fa2b0fe92c507eec3213e1385358260e46e92905;hpb=eb7bbee6cd182d5c4eb1e1180631c35158f59379;p=elogind.git diff --git a/configure.ac b/configure.ac index fa2b0fe92..4c8b11567 100644 --- a/configure.ac +++ b/configure.ac @@ -597,20 +597,20 @@ 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}]) + [], [with_rootprefix=${ac_default_prefix}]) AC_ARG_WITH([rootlibdir], AS_HELP_STRING([--with-rootlibdir=DIR], [Root directory for libraries necessary for boot]), [], [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])