diff options
author | Juergen Gross <jgross@suse.com> | 2017-03-27 09:42:45 +0200 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-04-21 12:41:23 -0700 |
commit | c1cdd9d5beb052b072c1f57ea634e3c52e9dc17b (patch) | |
tree | 6182d94f1ed46d101aac1c19e493a0d9e95257c5 /hw/usb | |
parent | 14d015b6fcd0b94a1e0983f82fab3e144143a314 (diff) |
configure: use pkg-config for obtaining xen version
Instead of trying to guess the Xen version to use by compiling various
test programs first just ask the system via pkg-config. Only if it
can't return the version fall back to the test program scheme.
If configure is being called with dedicated flags for the Xen libraries
use those instead of the pkg-config output. This will avoid breaking
an in-tree Xen build of an old Xen version while a new Xen version is
installed on the build machine: pkg-config would pick up the installed
Xen config files as the Xen tree wouldn't contain any of them.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions