summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@daemonic.se>2019-06-13 17:36:35 +0200
committerNiclas Zeising <zeising@daemonic.se>2019-07-10 18:52:20 +0200
commit735c8a5f6649d1b13fdc932f1b0b1e9e94512949 (patch)
tree26157c131a5740ac58ff896792e5d205c2e24d5a /configure.ac
parent4fef4d2978619e9f198a17176afc88ba27ff6ab7 (diff)
Don't check for struct pci_io.pi_sel.pc_domain
Autoconf has a check that pci_io.pi_sel.pc_domain exists. This is only used on FreeBSD. pc_domain was added to pci_io.pi_sel on FreeBSD many many releases ago, and exists on all current FreeBSD releases. Remove the check, and the corresponding HAVE_PCI_IO_PC_DOMAIN, and update the code to take into account that #ifdef HAVE_PCI_IO_PC_DOMAIN is now always true. Signed-off-by: Niclas Zeising <zeising@daemonic.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index e67623e..96f46a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,14 +133,6 @@ if test "x$have_mtrr_h" = xyes; then
AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])
fi
-# check for the pci_io.pi_sel.pc_domain
-AC_CHECK_MEMBER([struct pci_io.pi_sel.pc_domain],
- [AC_DEFINE(HAVE_PCI_IO_PC_DOMAIN,1,[Have the pci_io.pi_sel.pc_domain member.])],
- [],
- [ #include <sys/types.h>
- #include <sys/pciio.h>
- ])
-
AC_SUBST(PCIACCESS_CFLAGS)
AC_SUBST(PCIACCESS_LIBS)