projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6c8ec
)
egl: Build egl_dri2 only when xcb-dri2 is available.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 16 Jul 2010 11:39:58 +0000
(19:39 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 16 Jul 2010 11:41:29 +0000
(19:41 +0800)
The driver does not build when xcb-dri2 is not available.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index f52c6db65a613378452735ab43c812e600aea74e..1b116ae50e8b63d46ceb35eb13c2a508b7c9ec7d 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-970,12
+970,11
@@
if test "x$enable_egl" = xyes; then
if test "$have_xcb_dri2" = yes; then
EGL_DRIVER_DRI2=dri2
DEFINES="$DEFINES -DHAVE_XCB_DRI2"
+ if test "$have_libudev" = yes; then
+ DEFINES="$DEFINES -DHAVE_LIBUDEV"
+ fi
fi
- if test "$have_libudev" = yes; then
- EGL_DRIVER_DRI2=dri2
- DEFINES="$DEFINES -DHAVE_LIBUDEV"
- fi
EGL_DRIVERS_DIRS="$EGL_DRIVERS_DIRS $EGL_DRIVER_DRI2"
fi