mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 07:00:12 +01:00
configure: Always default to --enable-driglx-direct
Always default to --enable-driglx-direct, now that will build driswrast, but won't try to use dri[123] on platforms which don't have that. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
f647a722da
commit
bd526ec9e1
1 changed files with 1 additions and 15 deletions
16
configure.ac
16
configure.ac
|
|
@ -902,26 +902,12 @@ if test "x$enable_dri" = xyes; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Direct rendering or just indirect rendering
|
|
||||||
case "$host_os" in
|
|
||||||
gnu*)
|
|
||||||
dnl Disable by default on GNU/Hurd
|
|
||||||
driglx_direct_default="no"
|
|
||||||
;;
|
|
||||||
cygwin*)
|
|
||||||
dnl Disable by default on cygwin
|
|
||||||
driglx_direct_default="no"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
driglx_direct_default="yes"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
AC_ARG_ENABLE([driglx-direct],
|
AC_ARG_ENABLE([driglx-direct],
|
||||||
[AS_HELP_STRING([--disable-driglx-direct],
|
[AS_HELP_STRING([--disable-driglx-direct],
|
||||||
[disable direct rendering in GLX and EGL for DRI \
|
[disable direct rendering in GLX and EGL for DRI \
|
||||||
@<:@default=auto@:>@])],
|
@<:@default=auto@:>@])],
|
||||||
[driglx_direct="$enableval"],
|
[driglx_direct="$enableval"],
|
||||||
[driglx_direct="$driglx_direct_default"])
|
[driglx_direct="yes"])
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl libGL configuration per driver
|
dnl libGL configuration per driver
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue