Fix Xephyr compilation without GLX.

This commit is contained in:
Tiago Vignatti 2008-01-15 02:59:56 -02:00
commit 315d6a2b1d
2 changed files with 3 additions and 1 deletions

View file

@ -1901,7 +1901,7 @@ if test "$KDRIVE" = yes; then
XEPHYR=$xephyr
fi
XEPHYR_DRI=no
if test x$XEPHYR = xyes -a x$DRI = xyes; then
if test x$XEPHYR = xyes -a x$DRI = xyes && test "x$GLX" = xyes; then
XEPHYR_DRI=yes
XEPHYR_DRI_LIBS=-lGL
AC_SUBST(XEPHYR_DRI_LIBS)