Mesa (master): configure.ac: remove no longer necessary llvm-config --libs check

Emil Velikov evelikov at kemper.freedesktop.org
Fri Oct 13 12:06:32 UTC 2017


Module: Mesa
Branch: master
Commit: 9032e2cdcc5e356bb343bbc64f5e8889827fbe28
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9032e2cdcc5e356bb343bbc64f5e8889827fbe28

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Oct  5 11:19:03 2017 +0100

configure.ac: remove no longer necessary llvm-config --libs check

Prior to the refactor/cleanup by Tobias one could add an invalid
component to LLVM_COMPONENTS.

Since that's no longer the case we can drop the current check.

Cc: Tobias Droste <tdroste at gmx.de>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Tobias Droste <tdroste at gmx.de>

---

 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index ac641e6536..898eebf3e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2659,9 +2659,6 @@ if test "x$enable_llvm" = xyes; then
     dnl this was causing the same libraries to be appear multiple times
     dnl in LLVM_LIBS.
 
-    if ! $LLVM_CONFIG --libs ${LLVM_COMPONENTS} >/dev/null; then
-       AC_MSG_ERROR([Calling ${LLVM_CONFIG} failed])
-    fi
     LLVM_LIBS="`$LLVM_CONFIG --libs ${LLVM_COMPONENTS}`"
 
     if test "x$enable_llvm_shared_libs" = xyes; then




More information about the mesa-commit mailing list