diff --git a/configure b/configure
index e29493a..7a9ce3c 100755
|
a
|
b
|
enabled opencl && { check_lib2 OpenCL/cl.h clEnqueueNDRangeKernel -Wl
|
| 4287 | 4287 | check_lib2 CL/cl.h clEnqueueNDRangeKernel -lOpenCL || |
| 4288 | 4288 | die "ERROR: opencl not found"; } && |
| 4289 | 4289 | { enabled_any w32threads os2threads && |
| 4290 | | die "opencl currently needs --enable-pthreads or --disable-w32threads"; } && |
| | 4290 | die "opencl currently needs --enable-pthreads or --disable-w32threads"; } || |
| 4291 | 4291 | { check_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" || |
| 4292 | 4292 | check_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" || |
| 4293 | 4293 | die "ERROR: opencl must be installed and version must be 1.2 or compatible"; } |