summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 954616318d0..0d082d213b6 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],