Changeset 934

Show
Ignore:
Timestamp:
10/13/07 21:58:42 (1 year ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r933 r934  
    44        with OpenSSL support on OS X because there were a few undefined 
    55        symbols from this library. 
     6 
     7        * configure.in: PAM detection fixed/improved. Depending on the 
     8        case, it could fail to compile because of this check. 
    69 
    7102007-10-09  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
  • cherokee/trunk/configure.in

    r933 r934  
    837837AC_ARG_ENABLE(pam, AC_HELP_STRING([--disable-pam],[Disable PAM support]), use_pam="$enableval", use_pam="yes") 
    838838if test "x$use_pam" = "xyes"; then 
    839      AC_CHECK_LIB(pam, pam_start, have_pam=yes, have_pam=no) 
     839     AC_CHECK_LIB(pam, pam_start, have_pam_lib=yes, have_pam_lib=no) 
    840840     AC_CHECK_LIB(pam, _pam_dispatch, have_pam_dispatch=yes, have_pam_dispatch=no) 
    841841     AC_CHECK_HEADER(security/pam_modules.h, have_pam_include=yes, have_pam_include=no) 
     
    843843fi 
    844844 
    845 AM_CONDITIONAL(HAVE_PAM, test "$have_pam $have_pam_include" = "yes yes") 
     845if test "$have_pam $have_pam_lib $have_pam_include" != "yes yes yes"; then 
     846   have_pam="no" 
     847fi 
     848AM_CONDITIONAL(HAVE_PAM, test "x$have_pam" = "xyes") 
    846849 
    847850if test "$have_pam_dispatch" = "yes"; then 
    848851        AC_DEFINE(HAVE_PAM_DISPATCH, 1, [Have _pam_dispatch function]) 
    849852fi 
    850  
    851853 
    852854dnl