scons: Create a Configure checker for pkg-config.
authorGabe Black <gabe.black@gmail.com>
Sun, 7 Feb 2021 10:58:47 +0000 (02:58 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 11 Feb 2021 19:33:24 +0000 (19:33 +0000)
commitd7df1ebabb4d109930b568a5bdffeb31e6db2a85
tree513aa4ada9140375bae6606f13d60e090c2a953c
parent7ebcb83ac3c604396bf25cab42cf31c102993364
scons: Create a Configure checker for pkg-config.

This will check if a pkg-config package exists at all, and then if it
does will attempt to use the supplied pkg-config arguments and
ParseConfig to set up the environment as needed.

Change-Id: I1495e5370b60dcebb1c9ce38517e84d727abc2fd
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40866
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
SConstruct
site_scons/gem5_scons/configure.py