projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db78643
)
glx: Check HAVE_XF86VIDMODE before adding it as an implicit link
author
Alan Hourihane
<alanh@vmware.com>
Tue, 28 Jun 2011 16:40:24 +0000
(17:40 +0100)
committer
Alan Hourihane
<alanh@vmware.com>
Tue, 28 Jun 2011 16:41:39 +0000
(17:41 +0100)
library.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 7fbba7d62d6f6b65be153b41814e01aa2eeb39d7..acf9f0604c6697ea9ce97c95670de6c7e3bbd4b2 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-883,7
+883,11
@@
dri|no) # these checks are still desired when there is no mesa_driver
else
# should check these...
X11_INCLUDES="$X11_INCLUDES $X_CFLAGS"
- GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXxf86vm -lXdamage -lXfixes"
+ if test "x$HAVE_XF86VIDMODE" == xyes; then
+ GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXxf86vm -lXdamage -lXfixes"
+ else
+ GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXdamage -lXfixes"
+ fi
GL_PC_LIB_PRIV="$GL_LIB_DEPS"
GL_PC_CFLAGS="$X11_INCLUDES"