configure.ac: Don't require shared LLVM when building OpenCL
authorTom Stellard <thomas.stellard@amd.com>
Wed, 23 Oct 2013 19:36:41 +0000 (15:36 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 11 Nov 2013 22:21:35 +0000 (17:21 -0500)
This works now that pipe_*.so is no longer exporting LLVM symbols.

Tested-by: Kai Wasserbäch <kai@dev.carbon-project.or>
configure.ac

index f756b73..e4a7284 100644 (file)
@@ -1524,12 +1524,6 @@ AC_ARG_WITH([llvm-shared-libs],
         [link with LLVM shared libraries @<:@default=disabled@:>@])],
     [],
     [with_llvm_shared_libs=no])
-AS_IF([test x$enable_opencl = xyes],
-    [
-        if test "x$with_llvm_shared_libs" != xyes; then
-            AC_MSG_ERROR([OpenCL requires LLVM shared libraries])
-        fi
-    ])
 
 AC_ARG_WITH([llvm-prefix],
     [AS_HELP_STRING([--with-llvm-prefix],