[Mesa-dev] [PATCH 6/6] configure.ac: Don't check LLVM version in gallium_require_llvm
Tobias Droste
tdroste at gmx.de
Thu Dec 8 02:03:40 UTC 2016
This is actually not needed because the version is checked later.
Line 2609:
if test "x$enable_gallium_llvm" == "xyes"; then
llvm_require_version $LLVM_REQUIRED_GALLIUM "gallium"
llvm_add_default_components "gallium"
HAVE_GALLIUM_LLVM=xyes
DEFINES="${DEFINES} -DHAVE_GALLIUM_LLVM"
fi
Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6e12ac8912..8457b388a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2435,9 +2435,7 @@ dnl
dnl Gallium helper functions
dnl
gallium_require_llvm() {
- if test "x$enable_gallium_llvm" == "xyes"; then
- llvm_require_version $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
}
--
2.11.0
More information about the mesa-dev
mailing list