build: add cflags from pkg_config results to header/function tests
authorAndrew Tridgell <tridge@samba.org>
Tue, 23 Mar 2010 17:48:32 +0000 (04:48 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:01 +0000 (20:27 +1000)
commit0632fac52ea1ab36c42a479bb43893929493b7a9
tree184978d3c2ee5695c6ef588a9a6036aac5ba34e5
parent3b87d36c2bc598f32eec2d7b50f9118d7e3d063c
build: add cflags from pkg_config results to header/function tests

When we find a package with pkg_config we may need to use the
resulting ccflags and ldflags in later tests.

Support this by adding lib= options to CHECK_FUNC and CHECK_HEADER

This gets gnutls on FreeBSD working
buildtools/wafsamba/samba_autoconf.py
buildtools/wafsamba/samba_utils.py
lib/replace/wscript
source4/lib/tls/wscript