diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-03 21:45:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-03 21:45:44 +0100 |
commit | 9cf19f93324f1a7adfc5c386050d21ce6d661203 (patch) | |
tree | 23843074b216ac0406284afa33074c3a9c04ed73 /config.make.in | |
parent | 513e5f1def6e019613430d2ffed952da470fb801 (diff) | |
download | hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.tar.gz hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.tar.bz2 hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.zip |
pciaccess: properly detect and use
* configure.ac: Detect pciaccess pkg module. Define HAVE_LIBPCIACCESS,
libpciaccess_CFLAGS, libpciaccess_LIBS variables.
* config.make.in (HAVE_LIBPCIACCESS, libpciaccess_CFLAGS,
libpciaccess_LIBS): Add variables.
* Makefile (prog-subdirs) [!HAVE_LIBPCIACCESS]: Do not add pci-arbiter.
* pci-arbiter/Makefile (LDLIBS): Use $(libpciaccess_LIBS) instead of
-lpciaccess.
(CFLAGS): Use $(libpciaccess_CFLAGS).
Diffstat (limited to 'config.make.in')
-rw-r--r-- | config.make.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in index 28d4501e..efcbed4e 100644 --- a/config.make.in +++ b/config.make.in @@ -109,6 +109,13 @@ HAVE_LIBLWIP = @HAVE_LIBLWIP@ liblwip_CFLAGS = @liblwip_CFLAGS@ liblwip_LIBS = @liblwip_LIBS@ +# Whether we found libpciaccess. +HAVE_LIBPCIACCESS = @HAVE_LIBPCIACCESS@ + +# How to compile and link against libpciaccess. +libpciaccess_CFLAGS = @libpciaccess_CFLAGS@ +libpciaccess_LIBS = @libpciaccess_LIBS@ + # Installation tools. INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ |