waf: backport finding of pkg-config
commitc808b732fbfcf88bb64a48978dd98345b99feabe
authorUri Simchoni <uri@samba.org>
Thu, 19 Jan 2017 05:46:57 +0000 (19 07:46 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Feb 2017 10:42:21 +0000 (15 11:42 +0100)
treec032a6a7cbe7a1b2fad21a37e0fc7bc1ce2c2411
parent1b6b200ee72744783c08326c597ee73017b3f531
waf: backport finding of pkg-config

Allow the builder to customize the location of pkg-config
utility by setting PKGCONFIG environment variable.

This is backported from upstream waf.

Thanks to Zentaro Kavanagh <zentaro@google.com> for
pointing that out and proposing the fix.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12529

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 25 04:23:00 CET 2017 on sn-devel-144

(cherry picked from commit 2cf141ed45b4f7b7754cb9525d987ff38495d789)
third_party/waf/wafadmin/Tools/config_c.py