summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Droste <[email protected]>2017-01-28 14:57:00 +0100
committerEmil Velikov <[email protected]>2017-02-10 11:47:23 +0000
commitf64d4d82bd877418a553827cf0ffb9d5742127a8 (patch)
tree69949025e2030c3e1f8fe4f89472dcfb68538a86
parent38abcdba8a59e88a91d598951323b977fb3fa1ad (diff)
configure.ac: Don't check LLVM version in require_llvm
This is actually not needed because the version is checked later. Around line 2380 if test "x$enable_gallium_llvm" == "xyes"; then llvm_check_version_for $LLVM_REQUIRED_GALLIUM "gallium" llvm_add_default_components "gallium" fi Cc: "17.0" <[email protected]> Cc: Tobias Droste <[email protected]> Signed-off-by: Tobias Droste <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (v1) v2: [Emil Velikov: rebase/respin series order] Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 788561d207e..8fd7b6f001c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2199,9 +2199,7 @@ dnl
dnl Gallium helper functions
dnl
gallium_require_llvm() {
- if test "x$enable_gallium_llvm" = "xyes"; then
- llvm_check_version_for $LLVM_REQUIRED_GALLIUM "gallium"
- else
+ if test "x$enable_gallium_llvm" != "xyes"; then
AC_MSG_ERROR([--enable-gallium-llvm is required when building $1])
fi
}