
cherokee at cherokee-project
Jun 27, 2009, 2:52 PM
Post #1 of 1
(114 views)
Permalink
|
|
[3398] cherokee/trunk/configure.in: If patch is meant to fix an autoconf warning.
|
|
Revision: 3398 http://svn.cherokee-project.com/changeset/3398 Author: alo Date: 2009-06-27 23:52:22 +0200 (Sat, 27 Jun 2009) Log Message: ----------- If patch is meant to fix an autoconf warning. The configure script was complaining about the secutiry/pam_modules.h system header. Check http://bugs.cherokee-project.com/491 and chapter "19.7 Header Present But Cannot Be Compiled" for the autoconf documentation for more info. Modified Paths: -------------- cherokee/trunk/configure.in Modified: cherokee/trunk/configure.in =================================================================== --- cherokee/trunk/configure.in 2009-06-27 21:34:24 UTC (rev 3397) +++ cherokee/trunk/configure.in 2009-06-27 21:52:22 UTC (rev 3398) @@ -949,7 +949,11 @@ if test "x$use_pam" = "xyes"; then AC_CHECK_LIB(pam, pam_start, have_pam_lib=yes, have_pam_lib=no) AC_CHECK_LIB(pam, _pam_dispatch, have_pam_dispatch=yes, have_pam_dispatch=no) - AC_CHECK_HEADER(security/pam_modules.h, have_pam_include=yes, have_pam_include=no) + AC_CHECK_HEADER(security/pam_modules.h, have_pam_include=yes, have_pam_include=no, [[ +#ifdef HAVE_SECURITY_PAM_MODULES_H +# include <security/pam_modules.h> +#endif + ]]) AC_CHECK_HEADERS(security/_pam_macros.h security/pam_appl.h) fi
|