[Mesa-dev] [PATCH] configure.ac: Remove gallium-g3dvl flag.

Christian König deathsimple at vodafone.de
Thu Apr 18 09:54:25 PDT 2013


Am 18.04.2013 18:42, schrieb Matt Turner:
> 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.

I was nearly there to do so when I enabled the switch by default, but 
didn't dared.

Good to see you're braver than me, the patch itself is:

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   configure.ac |   17 +----------------
>   1 files changed, 1 insertions(+), 16 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 70c598e..8266cb7 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



More information about the mesa-dev mailing list