summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-05-02 12:49:23 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-05-02 05:37:07 +0200
commit1ccd1a3860b1d9a378350592ce459da45f78b634 (patch)
treee4b5ec3c6e9bc531ee95a900870a80ac0c38dc37 /configure
parent0f9f24c9cfd291c7ece4d3bad64fdf06d107168a (diff)
Enable opencl wihtout pthreads.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure b/configure
index 261fedb566..dd7ac79f92 100755
--- a/configure
+++ b/configure
@@ -4682,8 +4682,6 @@ enabled openal && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lO
enabled opencl && { check_lib2 OpenCL/cl.h clEnqueueNDRangeKernel -Wl,-framework,OpenCL ||
check_lib2 CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||
die "ERROR: opencl not found"; } &&
- { ! enabled_any w32threads os2threads ||
- die "opencl currently needs --enable-pthreads or --disable-w32threads"; } &&
{ check_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" ||
check_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" ||
die "ERROR: opencl must be installed and version must be 1.2 or compatible"; }