Tizen 2.0 Release
[profile/ivi/osmesa.git] / debian / patches / 13-llvm-config-pick-a-version.diff
1 Several versions of llvm can coexist in the archive (at the time of this
2 writing, 2.8 and 2.9), so pick a version. Let's assume the last version
3 receives bug fixes quickly, so pick 2.9 for now.
4 Index: mesa/configure.ac
5 ===================================================================
6 --- mesa.orig/configure.ac      2011-08-01 17:04:54.000000000 +1000
7 +++ mesa/configure.ac   2011-08-01 17:05:08.080884291 +1000
8 @@ -1731,7 +1731,7 @@
9      esac
10  fi
11  if test "x$enable_gallium_llvm" = xyes; then
12 -    AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no])
13 +    AC_PATH_PROG([LLVM_CONFIG], [llvm-config-2.9], [no])
14  
15      if test "x$LLVM_CONFIG" != xno; then
16         LLVM_VERSION=`$LLVM_CONFIG --version`