Skip to content

Commit

Permalink
Use correct prefix for share/pam-configs
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Moeller <[email protected]>
  • Loading branch information
Ryan Moeller authored and Ryan Moeller committed Jul 21, 2020
1 parent a51faaa commit 77ba69b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/user-pam.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
AC_DEFUN([ZFS_AC_CONFIG_USER_PAM], [
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
AC_ARG_ENABLE([pam],
AS_HELP_STRING([--enable-pam],
[install pam_zfs_key module [[default: check]]]),
Expand All @@ -12,8 +13,9 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_PAM], [
AC_ARG_WITH(pamconfigsdir,
AS_HELP_STRING([--with-pamconfigsdir=DIR],
[install pam-config files in dir [[/usr/share/pamconfigs]]]),
[pamconfigsdir="$withval"],[pamconfigsdir=/usr/share/pam-configs])
[install pam-config files in dir [[$acl_final_prefix/share/pam-configs]]]),
[pamconfigsdir="$withval"],
[pamconfigsdir=$acl_final_prefix/share/pam-configs])
AS_IF([test "x$enable_pam" != "xno"], [
AC_CHECK_HEADERS([security/pam_modules.h], [
Expand Down

0 comments on commit 77ba69b

Please sign in to comment.