add stdlib.h for openssl check

This commit is contained in:
jsorg71 2009-10-15 19:22:57 +00:00
parent bfdb88062c
commit cbcb7a1bf3

View File

@ -21,14 +21,17 @@ AC_ARG_ENABLE(pamuserpass, AS_HELP_STRING([--enable-pamuserpass],
AM_CONDITIONAL(SESMAN_PAMUSERPASS, [test x$pamuserpass = xtrue]) AM_CONDITIONAL(SESMAN_PAMUSERPASS, [test x$pamuserpass = xtrue])
# checking for openssl # checking for openssl
AC_CHECK_HEADER([openssl/rc4.h], [], [AC_MSG_ERROR([please install libssl-dev or openssl-devel])]) AC_CHECK_HEADER([openssl/rc4.h], [],
[AC_MSG_ERROR([please install libssl-dev or openssl-devel])],
[#include <stdlib.h>])
# checking if pam should be autodetected. # checking if pam should be autodetected.
if test -z "$enable_nopam" if test -z "$enable_nopam"
then then
if test -z "$enable_kerberos" if test -z "$enable_kerberos"
then then
AC_CHECK_HEADER([security/pam_appl.h], [], [AC_MSG_ERROR([please install libpam0g-dev or pam-devel])]) AC_CHECK_HEADER([security/pam_appl.h], [],
[AC_MSG_ERROR([please install libpam0g-dev or pam-devel])])
fi fi
fi fi