diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-02-08 21:58:04 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-02-08 21:58:04 +0000 |
commit | 5673450316b0624f3b0a763babdcaf9f13fde12c (patch) | |
tree | c983ef2d2c6f99c099cd4bad2bb517b44389aeb4 /COPYING | |
parent | 5c316f954941241ed75a1f00f00bf1bff318488a (diff) | |
download | flashrom-5673450316b0624f3b0a763babdcaf9f13fde12c.tar.gz flashrom-5673450316b0624f3b0a763babdcaf9f13fde12c.tar.bz2 flashrom-5673450316b0624f3b0a763babdcaf9f13fde12c.zip |
Refine version check of libpci function pci_get_dev
The way more elegant check for the header fails unfortunately on CentOS 4.9
because PCI_LIB_VERSION is not defined at all although the domain parameter
is present. This patch jumps through the hoops via an additional check in the
Makefile to determine if the function accepts 5 parameters (new version) or
not (old version).
Corresponding to flashrom svn r1880.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions