Lines Matching defs:libevent

1398 # check for libevent
1399 AC_ARG_WITH(libevent, AS_HELP_STRING([--with-libevent=pathname],[use libevent (will check /usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr or you can specify an explicit path). Slower, but allows use of large outgoing port ranges.]),
1402 AC_DEFINE([USE_LIBEVENT], [1], [Define if you enable libevent])
1403 AC_MSG_CHECKING(for libevent)
1419 if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
1420 # libevent source directory
1427 mkdir build/libevent >/dev/null 2>&1
1428 mkdir build/libevent/.libs >/dev/null 2>&1
1432 cp $ev_files_o build/libevent
1433 cp $ev_files_lo build/libevent
1434 cp $ev_files_libso build/libevent/.libs
1435 LATE_LDFLAGS="build/libevent/*.lo -lm"
1436 LDFLAGS="build/libevent/*.o $LDFLAGS -lm"
1438 AC_MSG_ERROR([Cannot find the libevent library in $with_libevent
1439 You can restart ./configure --with-libevent=no to use a builtin alternative.
1440 Please note that this alternative is not as capable as libevent when using
1446 if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
1457 # check for library used by libevent after 1.3c
1460 # is the event.h header libev or libevent?
1469 AC_CHECK_FUNCS([event_base_free]) # only in libevent 1.2 and later
1470 AC_CHECK_FUNCS([event_base_once]) # only in libevent 1.4.1 and later
1471 AC_CHECK_FUNCS([event_base_new]) # only in libevent 1.4.1 and later
1472 AC_CHECK_FUNCS([event_base_get_method]) # only in libevent 1.4.3 and later
1475 AC_CHECK_FUNCS([event_assign]) # in libevent, for thread-safety
1483 PC_LIBEVENT_DEPENDENCY="libevent"
2310 /* using version of libevent that is not threadsafe. */