root/trunk/freewrt/package/arpd/patches/patch-configure

Revision 1721, 1.2 kB (checked in by wbx, 2 years ago)

fix build, libevent is used static, but --disable-static is active

Line 
1 $FreeWRT$
2 --- arpd.orig/configure 2003-02-09 19:31:28.000000000 +0100
3 +++ arpd/configure      2007-01-21 00:51:54.000000000 +0100
4 @@ -2205,12 +2205,12 @@ echo "${ECHO_T}no" >&6
5    *)
6       echo "$as_me:2206: result: $withval" >&5
7  echo "${ECHO_T}$withval" >&6
8 -     if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
9 +     if test -f $withval/include/event.h; then
10          owd=`pwd`
11          if cd $withval; then withval=`pwd`; cd $owd; fi
12          EVENTINC="-I$withval/include"
13          EVENTLIB="-L$withval/lib -levent"
14 -     elif test -f $withval/event.h -a -f $withval/libevent.a; then
15 +     elif test -f $withval/event.h; then
16          owd=`pwd`
17          if cd $withval; then withval=`pwd`; cd $owd; fi
18          EVENTINC="-I$withval"
19 @@ -2258,8 +2258,7 @@ echo "${ECHO_T}$withval" >&6
20          if cd $withval; then withval=`pwd`; cd $owd; fi
21          PCAPINC="-I$withval -I$withval/bpf"
22          PCAPLIB="-L$withval -lpcap"
23 -     elif test -f $withval/include/pcap.h -a \
24 -               -f $withval/include/net/bpf.h; then
25 +     elif test -f $withval/include/pcap.h; then
26          owd=`pwd`
27          if cd $withval; then withval=`pwd`; cd $owd; fi
28          PCAPINC="-I$withval/include"
Note: See TracBrowser for help on using the browser.