[Buildroot] [PATCH 03/33] tcpdump: use 'pkg-config pcap' instead of pcap-config

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 22 10:10:41 UTC 2012


Dear Samuel Martin,

On Thu, 22 Nov 2012 01:17:53 +0100, Samuel Martin wrote:

> +-	    AC_PATH_TOOL(PCAP_CONFIG, pcap-config)
> ++	    AC_PATH_TOOL(PCAP_CONFIG, pkg-config)

This is not generally how pkg-config is used. In general, people use
the PKG_CHECK_MODULES() autoconf macro.

Has this been pushed upstream? I guess you need to make it smarter
like: start testing with pkg-config, then fallback to pcap-config, in
order to make this suitable for upstream.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list