Module: Mesa Branch: master Commit: c7b88ed16e6aa320fcf482d124a65b56d032956e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7b88ed16e6aa320fcf482d124a65b56d032956e
Author: Emil Velikov <[email protected]> Date: Thu Apr 18 01:40:40 2013 +0100 configure: enable vdpau and xvmc detection, with gallium Currently the vdpau and xvmc detection code, is enabled for all builds. The state trackers exist only within gallium. Enable whenever at least one gallium driver is selected v2: removed stray '-a' [mattst88 v3]: Removed stray $. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63645 Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Emil Velikov <[email protected]> --- configure.ac | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ba92258..70c598e 100644 --- a/configure.ac +++ b/configure.ac @@ -1319,9 +1319,15 @@ dnl Gallium G3DVL configuration dnl AC_ARG_ENABLE([gallium-g3dvl], [AS_HELP_STRING([--disable-gallium-g3dvl], - [build gallium g3dvl @<:@default=enabled@:>@])], + [build gallium g3dvl @<:@default=auto@:>@])], [enable_gallium_g3dvl="$enableval"], - [enable_gallium_g3dvl=yes]) + [enable_gallium_g3dvl=auto]) +if test "x$enable_gallium_g3dvl" = xauto; then + if test "x$with_gallium_drivers" != x; then + enable_gallium_g3dvl=yes + fi +fi + if test "x$enable_gallium_g3dvl" = xyes; then if test "x$with_gallium_drivers" = x; then AC_MSG_ERROR([cannot enable G3DVL without Gallium]) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
