diff options
Diffstat (limited to 'src/external/pam.m4')
-rw-r--r-- | src/external/pam.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/external/pam.m4 b/src/external/pam.m4 index 90f89bee3..4776b6ae3 100644 --- a/src/external/pam.m4 +++ b/src/external/pam.m4 @@ -18,3 +18,12 @@ AC_CHECK_HEADERS([security/openpam.h],,,[ AC_CHECK_LIB([pam_misc], [misc_conv], [PAM_MISC_LIBS="-lpam_misc"]) + +dnl save LIBS to restore later +save_LIBS="$LIBS" +LIBS="$PAM_LIBS" + +AC_CHECK_FUNCS(pam_modutil_getlogin pam_vsyslog) + +dnl restore LIBS +LIBS="$save_LIBS" |