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