summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-04-17 18:21:47 -0700
committerMatt Turner <mattst88@gmail.com>2013-04-18 21:52:26 -0700
commit34efd9295e25929290ef00a4bdf3f584bcdc0447 (patch)
treed5402acdc91c1c8a26824b9888e513aea2ab3d4c /configure.ac
parentd0e9aaa31cb13404914aea292879739d4044f856 (diff)
configure.ac: Remove gallium-g3dvl flag.
It's next to useless, since it just allows you to turn off VDPAU and XvMC with a single switch. Just check whether Gallium drivers are enabled instead. Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 1 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index 6ffe3f20c9..50e60f623b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1317,22 +1317,7 @@ AM_CONDITIONAL(HAVE_OPENVG, test "x$enable_openvg" = xyes)
dnl
dnl Gallium G3DVL configuration
dnl
-AC_ARG_ENABLE([gallium-g3dvl],
- [AS_HELP_STRING([--disable-gallium-g3dvl],
- [build gallium g3dvl @<:@default=auto@:>@])],
- [enable_gallium_g3dvl="$enableval"],
- [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])
- fi
-
+if test -n "$with_gallium_drivers"; then
if test "x$enable_xvmc" = xauto; then
PKG_CHECK_EXISTS([xvmc], [enable_xvmc=yes], [enable_xvmc=no])
fi