--- a/configure 2010-05-22 17:24:01.000000000 -0400 +++ b/configure 2011-08-02 14:09:41.000000000 -0400 @@ -4426,13 +4426,13 @@ 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 LIBEVENT_DIR="$i" break; fi done else - if test -f "$with_event/include/event.h"; then + if test -f "$with_event/include/libevent1/event.h"; then LIBEVENT_DIR="$with_event" break; else @@ -4446,8 +4446,8 @@ { $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" LIBS="$LIBS -levent" for ac_func in posix_fallocate