Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (21 sloc) 0.645 kb
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
1 #################################################
2 # check for a PAM clear-text auth, accounts, password and session support
3 with_pam_for_crypt=no
4 AC_MSG_CHECKING(whether to use PAM)
5 AC_ARG_WITH(pam,
6 [ --with-pam Include PAM support (default=yes)],
7 [ case "$withval" in
8 no)
9 AC_MSG_RESULT(no)
10 ;;
11 *)
12 AC_MSG_RESULT(yes)
13 AC_DEFINE(WITH_PAM,1,[Whether to include PAM support])
14 AUTHLIBS="$AUTHLIBS -lpam"
15 with_pam_for_crypt=yes
16 ;;
17 esac ],
18 AC_MSG_RESULT(no)
19 )
20
21 # we can't build a pam module if we don't have pam.
22 AC_CHECK_LIB(pam, pam_get_data, [AC_DEFINE(HAVE_LIBPAM,1,[Whether libpam is available])])
Something went wrong with that request. Please try again.