Module: Mesa Branch: master Commit: 04085afcbfc01841f236884eb81e12e2fabc8c31 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04085afcbfc01841f236884eb81e12e2fabc8c31
Author: Jan Vesely <jan.ves...@rutgers.edu> Date: Fri Feb 12 18:58:55 2016 -0500 configure: Bail out on llvm-config component error Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu> Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com> --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2750d4d..57330cb 100644 --- a/configure.ac +++ b/configure.ac @@ -2295,6 +2295,9 @@ dnl in LLVM_LIBS. if test "x$MESA_LLVM" != x0; then + if ! $LLVM_CONFIG --libs ${LLVM_COMPONENTS} >/dev/null; then + AC_MSG_ERROR([Calling ${LLVM_CONFIG} failed]) + fi LLVM_LIBS="`$LLVM_CONFIG --libs ${LLVM_COMPONENTS}`" dnl llvm-config may not give the right answer when llvm is a built as a _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit