mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00: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>
This commit is contained in:
@@ -1006,7 +1006,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
|
||||
|
||||
@@ -48,10 +48,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
|
||||
|
||||
Reference in New Issue
Block a user