Skip to content

Commit

Permalink
fixup check for pam_modutil_drop_priv()
Browse files Browse the repository at this point in the history
this was broken in 68d3f58
fixes #50
  • Loading branch information
klali committed Jan 21, 2015
1 parent b02ab99 commit 36e10a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ AC_CHECK_HEADERS([security/pam_modules.h security/_pam_macros.h security/pam_mod

AC_CHECK_LIB([pam], [pam_start], [AC_SUBST([LIBPAM], ["-lpam"])])

AC_SEARCH_LIBS([pam_modutil_drop_priv], ["pam"], [AC_DEFINE([HAVE_PAM_MODUTIL_DROP_PRIV], [1])])

AC_ARG_WITH([ldap],
[AS_HELP_STRING([--without-ldap],
[disable support for ldap])],
Expand Down Expand Up @@ -92,8 +94,6 @@ if test -n "$YKPERS_LIBS"; then
fi
AM_CONDITIONAL([YKPERS], [test -n "$YKPERS_LIBS"])

AC_CHECK_FUNCS([pam_modutil_drop_priv])

AC_SUBST(PAMDIR, "\$(exec_prefix)/lib/security")
AC_ARG_WITH(pam-dir,
AC_HELP_STRING([--with-pam-dir=DIR],
Expand Down

0 comments on commit 36e10a7

Please sign in to comment.