a9ab3fbc938b5f12c4adf2c76b9ad118e456700d
[packages/tcpdump.git] / libpcap-m4.patch
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 @@
4      fi
5      AC_MSG_CHECKING(for local pcap library)
6      libpcap=FAIL
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)?$'`
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
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
26      if test $libpcap = FAIL ; then
27             AC_MSG_RESULT(not found)
28  
This page took 0.046392 seconds and 2 git commands to generate.