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
5 AC_MSG_CHECKING(for local pcap library)
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
18 - if test -r $dir/libpcap.a ; then
19 - libpcap=$dir/libpcap.a
21 - dnl continue and select the last one that exists
24 if test $libpcap = FAIL ; then
25 AC_MSG_RESULT(not found)