diff options
author | Mark Kettenis <mark.kettenis@xs4all.nl> | 2008-03-12 21:29:58 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@reactor.herrb.net> | 2008-03-12 21:29:58 +0100 |
commit | d898072e28ac35f5b3569f48f2e90a9ef8eee2ca (patch) | |
tree | f4c193a27127a7485e5fed232b5829ea95eedb3a /configure.ac | |
parent | 4224ff23794500e1455f28fd5689bd0549b72367 (diff) | |
download | libpciaccess-d898072e28ac35f5b3569f48f2e90a9ef8eee2ca.tar.gz libpciaccess-d898072e28ac35f5b3569f48f2e90a9ef8eee2ca.tar.bz2 libpciaccess-d898072e28ac35f5b3569f48f2e90a9ef8eee2ca.zip |
OpenBSD support for libpciaccess.
xserver and libpciaccess both need to open /dev/xf86, which can only
be opened once. I implemented pci_system_init_dev_mem() like Ian
suggested. This requires some minor changes to the BSD-specific
os-support code. Since pci_system_init_dev_mem() is a no-op on
FreeBSD this should be no problem.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8f4e55d..6163577 100644 --- a/configure.ac +++ b/configure.ac @@ -77,6 +77,9 @@ case $host_os in *linux*) linux=yes ;; + *openbsd*) + openbsd=yes + ;; *solaris*) solaris=yes PCIACCESS_LIBS="$PCIACCESS_LIBS -ldevinfo" @@ -85,6 +88,7 @@ esac AM_CONDITIONAL(LINUX, [test "x$linux" = xyes]) AM_CONDITIONAL(FREEBSD, [test "x$freebsd" = xyes]) +AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes]) AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes]) AC_CHECK_FILE([/usr/include/asm/mtrr.h], |