$FreeBSD: branches/RELEASE_8_4_0/www/crawl/files/patch-configure 300897 2012-07-14 14:29:18Z beat $

--- configure.orig	Sun Dec 21 12:18:11 2003
+++ configure	Sun Dec 21 12:18:28 2003
@@ -2545,11 +2545,11 @@
   *)
      echo "$as_me:$LINENO: result: $withval" >&5
 echo "${ECHO_T}$withval" >&6
-     if test -f $withval/event.h -a -f $withval/libevent.a; then
+     if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
         owd=`pwd`
         if cd $withval; then withval=`pwd`; cd $owd; fi
-        EVENTINC="-I$withval"
-        EVENTLIB="-L$withval -levent"
+        EVENTINC="-I$withval/include"
+        EVENTLIB="-L$withval/lib -levent"
      else
         { { echo "$as_me:$LINENO: error: event.h or libevent.a not found in $withval" >&5
 echo "$as_me: error: event.h or libevent.a not found in $withval" >&2;}
