From 433b17fcdb7310b2c88f597a527c4eaf5ceb4516 Mon Sep 17 00:00:00 2001 From: tedbullock Date: Fri, 11 Jul 2008 17:10:29 +0000 Subject: [PATCH] libevent is no longer optional --- httperf/configure.ac | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/httperf/configure.ac b/httperf/configure.ac index f28633b..9be5bfa 100755 --- a/httperf/configure.ac +++ b/httperf/configure.ac @@ -28,17 +28,14 @@ AC_ARG_ENABLE([idleconn], AM_CONDITIONAL(IDLECONN, [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. AC_CHECK_LIB(m, sqrt) AC_CHECK_LIB(crypto, main) 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 AC_SEARCH_LIBS([getsockopt], [socket]) AC_SEARCH_LIBS([socket], [socket nsl])