libevent is no longer optional
This commit is contained in:
parent
cf9913be53
commit
433b17fcdb
@ -28,17 +28,14 @@ AC_ARG_ENABLE([idleconn],
|
|||||||
AM_CONDITIONAL(IDLECONN,
|
AM_CONDITIONAL(IDLECONN,
|
||||||
[test "x$enable_idleconn" = xyes])
|
[test "x$enable_idleconn" = xyes])
|
||||||
|
|
||||||
if test "x$enable_idleconn" = xyes; then
|
|
||||||
AC_CHECK_LIB([event],
|
|
||||||
[event_init],
|
|
||||||
,
|
|
||||||
AC_MSG_ERROR([libevent is required to build idleconn]) )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for libraries.
|
# Checks for libraries.
|
||||||
AC_CHECK_LIB(m, sqrt)
|
AC_CHECK_LIB(m, sqrt)
|
||||||
AC_CHECK_LIB(crypto, main)
|
AC_CHECK_LIB(crypto, main)
|
||||||
AC_CHECK_LIB(ssl, SSL_version, , AC_MSG_WARN([SSL Disabled]) )
|
AC_CHECK_LIB(ssl, SSL_version, , AC_MSG_WARN([SSL Disabled]) )
|
||||||
|
AC_CHECK_LIB([event],
|
||||||
|
[event_init],
|
||||||
|
,
|
||||||
|
AC_MSG_ERROR([libevent is required to build idleconn]) )
|
||||||
# The following checks are for solaris and its ilk
|
# The following checks are for solaris and its ilk
|
||||||
AC_SEARCH_LIBS([getsockopt], [socket])
|
AC_SEARCH_LIBS([getsockopt], [socket])
|
||||||
AC_SEARCH_LIBS([socket], [socket nsl])
|
AC_SEARCH_LIBS([socket], [socket nsl])
|
||||||
|
Loading…
Reference in New Issue
Block a user