commit | 316d5087cc80d30a5bd10ba9eebd4634d15a171d | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Nov 30 16:13:05 2010 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Tue Nov 30 16:13:05 2010 -0800 |
tree | 7777659289addd80c328079e57b2a6be8996267c | |
parent | 71894d1a627491b037993e06cd115bf706b4a610 [diff] |
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 <guy@alum.mit.edu>