Ticket #30553: patch-configure.diff

File patch-configure.diff, 949 bytes (added by kelley@…, 13 years ago)

configure patch

  • configure

    old new  
    44264426
    44274427  if test "x$with_event" = "xyes"; then
    44284428    for i in `echo "$STANDARD_PREFIXES"`; do
    4429       if test -f "$i/include/event.h"; then
     4429      if test -f "$i/include/libevent1/event.h"; then
    44304430        LIBEVENT_DIR="$i"
    44314431        break;
    44324432      fi
    44334433    done
    44344434  else
    4435     if test -f "$with_event/include/event.h"; then
     4435    if test -f "$with_event/include/libevent1/event.h"; then
    44364436      LIBEVENT_DIR="$with_event"
    44374437      break;
    44384438    else
     
    44464446
    44474447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEVENT_DIR" >&5
    44484448$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"
    44514451  LIBS="$LIBS -levent"
    44524452
    44534453  for ac_func in posix_fallocate