]>
Commit | Line | Data |
---|---|---|
9a91aa94 JB |
1 | --- tcpdump-4.6.2/aclocal.m4.orig 2014-09-08 20:03:01.007141908 +0200 |
2 | +++ tcpdump-4.6.2/aclocal.m4 2014-09-08 20:06:33.077133032 +0200 | |
3 | @@ -440,25 +440,6 @@ | |
d0f36d18 | 4 | fi |
00077d7a AM |
5 | AC_MSG_CHECKING(for local pcap library) |
6 | libpcap=FAIL | |
d0f36d18 ER |
7 | - lastdir=FAIL |
8 | - places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \ | |
9 | - egrep '/libpcap-[[0-9]]+\.[[0-9]]+(\.[[0-9]]*)?([[ab]][[0-9]]*|-PRE-GIT)?$'` | |
9a91aa94 JB |
10 | - places2=`ls .. | sed -e 's,/$,,' -e "s,^,../," | \ |
11 | - egrep '/libpcap-[[0-9]]+\.[[0-9]]+(\.[[0-9]]*)?([[ab]][[0-9]]*|-PRE-GIT)?$'` | |
12 | - for dir in $places $srcdir/../libpcap ../libpcap $srcdir/libpcap $places2 ; do | |
d0f36d18 ER |
13 | - basedir=`echo $dir | sed -e 's/[[ab]][[0-9]]*$//' | \ |
14 | - sed -e 's/-PRE-GIT$//' ` | |
15 | - if test $lastdir = $basedir ; then | |
16 | - dnl skip alphas when an actual release is present | |
17 | - continue; | |
18 | - fi | |
19 | - lastdir=$dir | |
20 | - if test -r $dir/libpcap.a ; then | |
21 | - libpcap=$dir/libpcap.a | |
22 | - d=$dir | |
23 | - dnl continue and select the last one that exists | |
24 | - fi | |
25 | - done | |
00077d7a AM |
26 | if test $libpcap = FAIL ; then |
27 | AC_MSG_RESULT(not found) | |
28 |