[Mesa-dev] [PATCH 1/8] configure.ac: directly print the contents of HAVE_GALLIUM_LLVM

Tobias Droste tdroste at gmx.de
Wed Jan 18 17:54:07 UTC 2017


You may want to hold this one until we have a solution for Joses problem.

In case the .c file changes stay:
Reviewed-by: Tobias Droste <tdroste at gmx.de>

Am Mittwoch, 18. Januar 2017, 13:53:57 CET schrieb Emil Velikov:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Just ensure that the variable is set and print it's contents.
> 
> Cc: Tobias Droste <tdroste at gmx.de>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  configure.ac | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 182d0726c3..0f60e13ec7 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2578,6 +2578,8 @@ if test "x$enable_gallium_llvm" == "xyes"; then
> 
>      HAVE_GALLIUM_LLVM=yes
>      DEFINES="${DEFINES} -DHAVE_GALLIUM_LLVM"
> +else
> +    HAVE_GALLIUM_LLVM=no
>  fi
> 
>  dnl We need to validate some needed dependencies for renderonly drivers.
> @@ -3000,11 +3002,7 @@ echo ""
>  if test -n "$with_gallium_drivers"; then
>      echo "        Gallium drivers: $gallium_drivers"
>      echo "        Gallium st:      $gallium_st"
> -    if test "x$HAVE_GALLIUM_LLVM" = xyes; then
> -        echo "        Gallium llvm:    yes"
> -    else
> -        echo "        Gallium llvm:    no"
> -    fi
> +    echo "        Gallium llvm:    $HAVE_GALLIUM_LLVM"
>  else
>      echo "        Gallium:         no"
>  fi


More information about the mesa-dev mailing list