From: Emil Velikov <emil.veli...@collabora.com>

Just ensure that the variable is set and print it's contents.

Cc: Tobias Droste <tdro...@gmx.de>
Signed-off-by: Emil Velikov <emil.veli...@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
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to