From: Mike Frysinger Date: Wed, 1 Dec 2010 00:13:05 +0000 (-0800) Subject: Use AC_PATH_TOOL, not AC_PATH_PROG, to find pcap-config. X-Git-Tag: tcpdump-4.2.1~78^2~2 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/316d5087cc80d30a5bd10ba9eebd4634d15a171d?hp=316d5087cc80d30a5bd10ba9eebd4634d15a171d Use AC_PATH_TOOL, not AC_PATH_PROG, to find pcap-config. The PROG variant does not take into consideration cross-compilation, so it always looks for "pcap-config" which finds the host script. So use the TOOL variant instead which first searches for the cross-prefixed pcap-config before falling back to the bare "pcap-config". Reviewed-By: Guy Harris ---