mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 20:48:05 +02:00
configure.ac: DragonFly BSD support
Add support for DragonFly BSD, which is just the same as FreeBSD for all
of these cases.
(cherry picked from commit 0f87b41a43)
This commit is contained in:
parent
685a04c2bf
commit
db62e494ff
1 changed files with 4 additions and 2 deletions
|
|
@ -313,6 +313,7 @@ case $host_cpu in
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*linux*) DEFAULT_INT10=vm86 ;;
|
*linux*) DEFAULT_INT10=vm86 ;;
|
||||||
*freebsd*) AC_DEFINE(USE_DEV_IO) ;;
|
*freebsd*) AC_DEFINE(USE_DEV_IO) ;;
|
||||||
|
*dragonfly*) AC_DEFINE(USE_DEV_IO) ;;
|
||||||
*netbsd*) AC_DEFINE(USE_I386_IOPL)
|
*netbsd*) AC_DEFINE(USE_I386_IOPL)
|
||||||
SYS_LIBS=-li386
|
SYS_LIBS=-li386
|
||||||
;;
|
;;
|
||||||
|
|
@ -337,6 +338,7 @@ case $host_cpu in
|
||||||
I386_VIDEO=yes
|
I386_VIDEO=yes
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*freebsd*) AC_DEFINE(USE_DEV_IO, 1, [BSD /dev/io]) ;;
|
*freebsd*) AC_DEFINE(USE_DEV_IO, 1, [BSD /dev/io]) ;;
|
||||||
|
*dragonfly*) AC_DEFINE(USE_DEV_IO, 1, [BSD /dev/io]) ;;
|
||||||
*netbsd*) AC_DEFINE(USE_I386_IOPL, 1, [BSD i386 iopl])
|
*netbsd*) AC_DEFINE(USE_I386_IOPL, 1, [BSD i386 iopl])
|
||||||
SYS_LIBS=-lx86_64
|
SYS_LIBS=-lx86_64
|
||||||
;;
|
;;
|
||||||
|
|
@ -367,7 +369,7 @@ DRI2=no
|
||||||
KDRIVE_HW=no
|
KDRIVE_HW=no
|
||||||
dnl it would be nice to autodetect these *CONS_SUPPORTs
|
dnl it would be nice to autodetect these *CONS_SUPPORTs
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*freebsd*)
|
*freebsd* | *dragonfly*)
|
||||||
case $host_os in
|
case $host_os in
|
||||||
kfreebsd*-gnu) ;;
|
kfreebsd*-gnu) ;;
|
||||||
*) AC_DEFINE(CSRG_BASED, 1, [System is BSD-like]) ;;
|
*) AC_DEFINE(CSRG_BASED, 1, [System is BSD-like]) ;;
|
||||||
|
|
@ -1344,7 +1346,7 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
freebsd* | kfreebsd*-gnu)
|
freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||||
XORG_OS="freebsd"
|
XORG_OS="freebsd"
|
||||||
XORG_OS_SUBDIR="bsd"
|
XORG_OS_SUBDIR="bsd"
|
||||||
xorg_bus_bsdpci="yes"
|
xorg_bus_bsdpci="yes"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue