mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-18 03:50:45 +02:00
glx: Make --disable-dri not disable AIGLX
Either the DRI1 or DRI2 loaders are sufficient.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 001b6b8b70)
This commit is contained in:
parent
e67afcdb9a
commit
7688d6d317
2 changed files with 5 additions and 2 deletions
|
|
@ -1009,7 +1009,7 @@ else
|
|||
fi
|
||||
AM_CONDITIONAL(GLX, test "x$GLX" = xyes)
|
||||
|
||||
if test "x$AIGLX" = xyes -a "x$GLX" = xyes -a "x$DRI" = xyes; then
|
||||
if test "x$AIGLX" = xyes -a "x$GLX" = xyes -a \( "x$DRI" = xyes -o "x$DRI2" = xyes \); then
|
||||
AC_DEFINE(AIGLX, 1, [Build AIGLX loader])
|
||||
else
|
||||
AIGLX=no
|
||||
|
|
|
|||
|
|
@ -49,10 +49,13 @@ glapi_sources = \
|
|||
glthread.h
|
||||
|
||||
libglxdri_la_SOURCES = \
|
||||
glxdri.c \
|
||||
extension_string.c \
|
||||
extension_string.h
|
||||
|
||||
if DRI
|
||||
libglxdri_la_SOURCES += glxdri.c
|
||||
endif
|
||||
|
||||
if DRI2_AIGLX
|
||||
libglxdri_la_SOURCES += glxdri2.c
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue