if test -n "$PECL_CHECKED_VERSION(libevent)"; then
PECL_HAVE_VERSION(libevent, 2.0, [
PECL_DEFINE([HAVE_LIBEVENT2])
- ]., [ ])
+ ], [ ])
ifelse([$2],,,[PECL_HAVE_VERSION(libevent, [$2])])
AC_CHECK_FUNC(event_base_new,,[
AC_DEFINE([event_base_new], [event_init], [missing event_base_new() in libevent1])