--- a/configure 2010-05-22 17:24:01.000000000 -0400
+++ b/configure 2011-08-02 14:09:41.000000000 -0400
if test "x$with_event" = "xyes"; then
for i in `echo "$STANDARD_PREFIXES"`; do
- if test -f "$i/include/event.h"; then
+ if test -f "$i/include/libevent1/event.h"; then
- if test -f "$with_event/include/event.h"; then
+ if test -f "$with_event/include/libevent1/event.h"; then
LIBEVENT_DIR="$with_event"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEVENT_DIR" >&5
$as_echo "$LIBEVENT_DIR" >&6; }
- LDFLAGS="$LDFLAGS -L$LIBEVENT_DIR/$LIBDIR"
- CFLAGS="$CFLAGS -I$LIBEVENT_DIR/include"
+ LDFLAGS="$LDFLAGS -L$LIBEVENT_DIR/$LIBDIR/libevent1"
+ CFLAGS="$CFLAGS -I$LIBEVENT_DIR/include/libevent1"
for ac_func in posix_fallocate