Ticket #30553: patch-configure.diff
File patch-configure.diff, 949 bytes (added by kelley@…, 13 years ago) |
---|
-
configure
old new 4426 4426 4427 4427 if test "x$with_event" = "xyes"; then 4428 4428 for i in `echo "$STANDARD_PREFIXES"`; do 4429 if test -f "$i/include/ event.h"; then4429 if test -f "$i/include/libevent1/event.h"; then 4430 4430 LIBEVENT_DIR="$i" 4431 4431 break; 4432 4432 fi 4433 4433 done 4434 4434 else 4435 if test -f "$with_event/include/ event.h"; then4435 if test -f "$with_event/include/libevent1/event.h"; then 4436 4436 LIBEVENT_DIR="$with_event" 4437 4437 break; 4438 4438 else … … 4446 4446 4447 4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEVENT_DIR" >&5 4448 4448 $as_echo "$LIBEVENT_DIR" >&6; } 4449 LDFLAGS="$LDFLAGS -L$LIBEVENT_DIR/$LIBDIR "4450 CFLAGS="$CFLAGS -I$LIBEVENT_DIR/include "4449 LDFLAGS="$LDFLAGS -L$LIBEVENT_DIR/$LIBDIR/libevent1" 4450 CFLAGS="$CFLAGS -I$LIBEVENT_DIR/include/libevent1" 4451 4451 LIBS="$LIBS -levent" 4452 4452 4453 4453 for ac_func in posix_fallocate