summaryrefslogtreecommitdiff
path: root/driver/xf86-video-openchrome/configure
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-01-08 20:28:58 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-01-08 20:28:58 +0000
commitb8586c807bad0e838dcc94733492b1d9824e6643 (patch)
tree369bccebcc4fe1a57b06b6c3edcc5b02273530b8 /driver/xf86-video-openchrome/configure
parent29d14d50c462c19ac2a6851b7079244c13095bef (diff)
openchrome doesn't build if you have an xserver with DRI compiled in,
but you disable dri on in the driver build and don't have the via_drm.h it wants in dri mode. Work around this by changing the #define used to an openchrome only one, instead of overloading the XF86DRI identifier. Also disable the DRI build unconditionally. This is needed here since we don't provide the via DRM module, and i'm moving libdrm over to using the kernel headers (instead of libdrms own private copy of same... This is why kernel modules should be developed in kernel). We won't provide a via drm driver until it is re-written, since it is full of linuxisms (like futex). ok matthieu@, discussed with a few. tested by grange@ to prove it was a no-op functionality wise.
Diffstat (limited to 'driver/xf86-video-openchrome/configure')
-rwxr-xr-xdriver/xf86-video-openchrome/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-openchrome/configure b/driver/xf86-video-openchrome/configure
index d4748409e..0cf1a4279 100755
--- a/driver/xf86-video-openchrome/configure
+++ b/driver/xf86-video-openchrome/configure
@@ -21076,12 +21076,12 @@ echo "${ECHO_T}yes" >&6
fi
cat >>confdefs.h <<\_ACEOF
-#define XF86DRI 1
+#define CHROMEDRI 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
-#define XF86DRI_DEVEL 1
+#define CHROMEDRI_DEVEL 1
_ACEOF
case "$host_cpu" in