From e325894a353f221ae60cd7c6d71f6688f4c00453 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 22 Jan 2018 21:33:21 -0800 Subject: If we have a local libpcap, add it to the dependencies for tcpdump. We weren't doing so if we found a local pcap-config script. --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 58666c63..70724a2f 100755 --- a/configure +++ b/configure @@ -5515,7 +5515,12 @@ $as_echo "found -- -I$d added" >&6; } fi else # - # We found a local libpcap. + # We found a local libpcap. Add it to the dependencies for + # tcpdump. + # + V_PCAPDEP=$libpcap + + # # Look for its pcap-config script. # # Extract the first word of "pcap-config", so it can be a program name with args. @@ -5579,7 +5584,6 @@ fi # It doesn't have a pcap-config script. # Make sure it has a pcap.h file. # - V_PCAPDEP=$libpcap places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \ egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'` places2=`ls .. | sed -e 's,/$,,' -e "s,^,../," | \ -- cgit v1.2.1