summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-18 22:49:54 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-18 22:49:54 +0000
commitceaa1c9d379e3b337f5a00cf1e4314c6aaf4ded2 (patch)
treec4080c1f788650b8ca358b2adbe9142ea0d5d3b8 /xserver
parentdcb997e26a7c9bbbe558e427312838ba54121cbe (diff)
Build hppa support files on OpenBSD (useless for now).
Diffstat (limited to 'xserver')
-rw-r--r--xserver/configure.ac6
-rw-r--r--xserver/hw/xfree86/os-support/bsd/Makefile.am3
2 files changed, 8 insertions, 1 deletions
diff --git a/xserver/configure.ac b/xserver/configure.ac
index dac2f4d39..091dca8d0 100644
--- a/xserver/configure.ac
+++ b/xserver/configure.ac
@@ -365,6 +365,12 @@ case $host_cpu in
s390*)
GLX_ARCH_DEFINES="-D__GLX_ALIGN64"
;;
+ hppa*)
+ case $host_os in
+ *openbsd*) HPPA_VIDEO=yes
+ ;;
+ esac
+ ;;
esac
AC_SUBST(GLX_ARCH_DEFINES)
diff --git a/xserver/hw/xfree86/os-support/bsd/Makefile.am b/xserver/hw/xfree86/os-support/bsd/Makefile.am
index 96c52f284..6212aae17 100644
--- a/xserver/hw/xfree86/os-support/bsd/Makefile.am
+++ b/xserver/hw/xfree86/os-support/bsd/Makefile.am
@@ -46,7 +46,8 @@ ARCH_SOURCES = hp300_video.c \
endif
if HPPA_VIDEO
-ARCH_SOURCES = hppa_video.c
+ARCH_SOURCES = hppa_video.c \
+ $(srcdir)/../shared/ioperm_noop.c
endif
if I386_VIDEO