[Mesa-dev] [PATCH 1/2] configure.ac: enable LLVM by default

Marek Olšák maraeo at gmail.com
Thu Apr 21 04:39:58 PDT 2011


OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it?
Poor users with SWTCL chipsets... and bad reputation for us too.
---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8989c2b..8e9f73f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1687,10 +1687,10 @@ dnl Gallium LLVM
 dnl
 AC_ARG_ENABLE([gallium-llvm],
     [AS_HELP_STRING([--enable-gallium-llvm],
-        [build gallium LLVM support @<:@default=disabled@:>@])],
+        [build gallium LLVM support @<:@default=enabled@:>@])],
     [enable_gallium_llvm="$enableval"],
     [enable_gallium_llvm=auto])
-if test "x$enable_gallium_llvm" = xyes; then
+if test "x$enable_gallium_llvm" != xno; then
     if test "x$LLVM_CONFIG" != xno; then
 	LLVM_VERSION=`$LLVM_CONFIG --version`
 	LLVM_CFLAGS=`$LLVM_CONFIG --cppflags`
-- 
1.7.4.1



More information about the mesa-dev mailing list