pcap: use pcap-config to guess compilation flags
authorDavid Marchand <david.marchand@6wind.com>
Fri, 22 Nov 2013 10:24:55 +0000 (11:24 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:28 +0000 (11:07 +0100)
commita0cdfcf936bcccd15d08a22c9cf38013b6859ad2
tree6b824ed35f04a14d3011d9b372a33d6ba53a5ba4
parenta007988d5d4508ebcdde9d17ff893147638dfff0
pcap: use pcap-config to guess compilation flags

Use pcap-config to populate CFLAGS and LDFLAGS.
LIBPCAP_CFLAGS and LIBPCAP_LDFLAGS can be used to override this (useful when
cross-compiling).

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
app/test-pmd/Makefile
doc/build-sdk-quick.txt
mk/rte.app.mk
mk/rte.sdkbuild.mk
mk/target/generic/rte.vars.mk