]> The Tcpdump Group git mirrors - tcpdump/commit
Use AC_PATH_TOOL, not AC_PATH_PROG, to find pcap-config.
authorMike Frysinger <[email protected]>
Wed, 1 Dec 2010 00:13:05 +0000 (16:13 -0800)
committerGuy Harris <[email protected]>
Wed, 1 Dec 2010 00:13:56 +0000 (16:13 -0800)
commitb6e0307d6de65e659ba594253bb4d427c319dd61
tree3208c5926b57c43e13a2cb43a0a25d474372c5a2
parent10dd5e6486f845ce3b9e7b0ab12fea728abf445d
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 <[email protected]>
aclocal.m4
configure