Last change
on this file since 4 was 1, checked in by Paul Smedley, 10 years ago |
Initial commit of Heimdal 1.5.3
|
File size:
913 bytes
|
Line | |
---|
1 | dnl $Id$
|
---|
2 | dnl
|
---|
3 | dnl Figure what authentication modules should be built
|
---|
4 | dnl
|
---|
5 | dnl rk_AUTH_MODULES(module-list)
|
---|
6 |
|
---|
7 | AC_DEFUN([rk_AUTH_MODULES],[
|
---|
8 | AC_MSG_CHECKING([which authentication modules should be built])
|
---|
9 |
|
---|
10 | z='m4_ifval([$1], $1, [sia pam afskauthlib])'
|
---|
11 | LIB_AUTH_SUBDIRS=
|
---|
12 | for i in $z; do
|
---|
13 | case $i in
|
---|
14 | sia)
|
---|
15 | if test "$ac_cv_header_siad_h" = yes; then
|
---|
16 | LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
|
---|
17 | fi
|
---|
18 | ;;
|
---|
19 | pam)
|
---|
20 | case "${host}" in
|
---|
21 | *-*-freebsd*) ac_cv_want_pam_krb4=no ;;
|
---|
22 | *) ac_cv_want_pam_krb4=yes ;;
|
---|
23 | esac
|
---|
24 |
|
---|
25 | if test "$ac_cv_want_pam_krb4" = yes -a \
|
---|
26 | "$ac_cv_header_security_pam_modules_h" = yes -a \
|
---|
27 | "$enable_shared" = yes; then
|
---|
28 | LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
|
---|
29 | fi
|
---|
30 | ;;
|
---|
31 | afskauthlib)
|
---|
32 | case "${host}" in
|
---|
33 | *-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
|
---|
34 | esac
|
---|
35 | ;;
|
---|
36 | esac
|
---|
37 | done
|
---|
38 | if test "$LIB_AUTH_SUBDIRS"; then
|
---|
39 | AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
|
---|
40 | else
|
---|
41 | AC_MSG_RESULT(none)
|
---|
42 | fi
|
---|
43 |
|
---|
44 | AC_SUBST(LIB_AUTH_SUBDIRS)dnl
|
---|
45 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.