Skip to content

Commit

Permalink
Testing trivial libdir quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
dacav committed Dec 20, 2024
1 parent 0adeda2 commit 5195bf7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ AC_CHECK_HEADERS([security/pam_modules.h security/pam_modutil.h security/openpam
AC_CHECK_LIB([pam], [pam_start])
AC_CHECK_FUNCS([pam_modutil_drop_priv openpam_borrow_cred])

case "$host" in
*darwin*) PAMDIR="/usr/lib/pam";;
*linux*) PAMDIR="/lib/x86_64-linux-gnu/security";;
*) PAMDIR="/usr/lib"
esac
PAMDIR='${libdir}/security'
AC_ARG_WITH(pam-dir,
AS_HELP_STRING([--with-pam-dir=DIR], [Where to install the PAM module]), [
case "${withval}" in
Expand Down

0 comments on commit 5195bf7

Please sign in to comment.