--- tcpdump-4.2.0/aclocal.m4~ 2011-07-24 22:58:55.000000000 +0200 +++ tcpdump-4.2.0/aclocal.m4 2011-11-28 18:41:29.227895655 +0100 @@ -286,23 +286,6 @@ fi AC_MSG_CHECKING(for local pcap library) libpcap=FAIL - lastdir=FAIL - places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \ - egrep '/libpcap-[[0-9]]+\.[[0-9]]+(\.[[0-9]]*)?([[ab]][[0-9]]*|-PRE-GIT)?$'` - for dir in $places $srcdir/../libpcap $srcdir/libpcap ; do - basedir=`echo $dir | sed -e 's/[[ab]][[0-9]]*$//' | \ - sed -e 's/-PRE-GIT$//' ` - if test $lastdir = $basedir ; then - dnl skip alphas when an actual release is present - continue; - fi - lastdir=$dir - if test -r $dir/libpcap.a ; then - libpcap=$dir/libpcap.a - d=$dir - dnl continue and select the last one that exists - fi - done if test $libpcap = FAIL ; then AC_MSG_RESULT(not found)