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

Emil Velikov emil.l.velikov at gmail.com
Wed Jan 18 13:53:57 UTC 2017


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
-- 
2.11.0



More information about the mesa-dev mailing list