]> git.pld-linux.org Git - packages/tcpdump.git/blob - libpcap-m4.patch
- updated to 4.3.0
[packages/tcpdump.git] / libpcap-m4.patch
1 --- tcpdump-4.2.0/aclocal.m4~   2011-07-24 22:58:55.000000000 +0200
2 +++ tcpdump-4.2.0/aclocal.m4    2011-11-28 18:41:29.227895655 +0100
3 @@ -286,23 +286,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 -    for dir in $places $srcdir/../libpcap $srcdir/libpcap ; do
11 -           basedir=`echo $dir | sed -e 's/[[ab]][[0-9]]*$//' | \
12 -               sed -e 's/-PRE-GIT$//' `
13 -           if test $lastdir = $basedir ; then
14 -                   dnl skip alphas when an actual release is present
15 -                   continue;
16 -           fi
17 -           lastdir=$dir
18 -           if test -r $dir/libpcap.a ; then
19 -                   libpcap=$dir/libpcap.a
20 -                   d=$dir
21 -                   dnl continue and select the last one that exists
22 -           fi
23 -    done
24      if test $libpcap = FAIL ; then
25             AC_MSG_RESULT(not found)
26  
This page took 0.040919 seconds and 3 git commands to generate.