AC_TYPE_SIZE_T
# Checks for library functions.
-AC_CHECK_FUNCS([strchr strdup strstr])
+AC_CHECK_FUNCS([strchr strdup strstr timegm])
AC_CHECK_HEADERS([dlfcn.h])
AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
AC_ARG_WITH(openssl,
AC_HELP_STRING([--with-openssl=PATH], [where openssl is installed]),
[if test x_$with_openssl != x_/usr; then
- SSLLIBS="-L${with_openssl}/lib -lcrypto"
+ SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
SSLFLAGS="-I${with_openssl}/include"
fi])
fi
if test "x$SSLLIBS" = "x" ; then
- SSLLIBS="-lcrypto"
+ SSLLIBS="-lcrypto -lssl"
fi
AC_MSG_CHECKING(for OpenSSL libraries)