build: configure: Silence pkg-config check for libnetfilter_conntrack
commit8595f4e1f170152b4f4117a03ce64b59a3023985
authorTobias Klauser <tklauser@distanz.ch>
Fri, 6 Nov 2015 15:41:39 +0000 (6 16:41 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 6 Nov 2015 15:41:39 +0000 (6 16:41 +0100)
treef1af2e9af4f6b2197199809f1a3c8beb24079562
parente6556d7736ff65de5ebd8e984ab7b5615731ee29
build: configure: Silence pkg-config check for libnetfilter_conntrack

Redirect stderr output of pkg-config to config.log in order to not spam
the configure output with pkg-config errors. Instead, use the same
pkg-config commands as for the other library checks to get
libnetfilter_conntrack cflags. Additionally, use pkg-config to the the
linker flags as well.

Fixes: 19991f90 ("build: Handle libnetfilter-conntrack with pkg-config")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
configure