Module: Mesa Branch: master Commit: 790c8a2405789d3fe7c2eda76a0e9f5ef31fcaf4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=790c8a2405789d3fe7c2eda76a0e9f5ef31fcaf4
Author: Marek Olšák <[email protected]> Date: Mon Oct 7 13:03:34 2013 +0200 configure.ac: report an error if LLVM shared libs are disabled and CL is enabled Reviewed-by: Tom Stellard <[email protected]> --- configure.ac | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9546163..0d082d2 100644 --- a/configure.ac +++ b/configure.ac @@ -1532,8 +1532,9 @@ AC_ARG_WITH([llvm-shared-libs], [with_llvm_shared_libs=no]) AS_IF([test x$enable_opencl = xyes], [ - AC_MSG_WARN([OpenCL required, forcing LLVM shared libraries]) - with_llvm_shared_libs=yes + if test "x$with_llvm_shared_libs" != xyes; then + AC_MSG_ERROR([OpenCL requires LLVM shared libraries]) + fi ]) AC_ARG_WITH([llvm-prefix], _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
