summaryrefslogtreecommitdiff
path: root/www/crawl/files/patch-configure
blob: 7f99fc735e4208e0c1a92536f3c3188c28cede96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$FreeBSD$

--- 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;}