diff --git a/configure b/configure
index f25f7dc..eebd1de 100755
|
a
|
b
|
enabled openal && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lO
|
| 4286 | 4286 | enabled opencl && { check_lib2 OpenCL/cl.h clEnqueueNDRangeKernel -Wl,-framework,OpenCL || |
| 4287 | 4287 | check_lib2 CL/cl.h clEnqueueNDRangeKernel -lOpenCL || |
| 4288 | 4288 | die "ERROR: opencl not found"; } && |
| 4289 | | { enabled_any w32threads os2threads && |
| 4290 | | die "opencl currently needs --enable-pthreads or --disable-w32threads"; } && |
| 4291 | 4289 | { check_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" || |
| 4292 | 4290 | check_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" || |
| 4293 | | die "ERROR: opencl must be installed and version must be 1.2 or compatible"; } |
| | 4291 | die "ERROR: opencl must be installed and version must be 1.2 or compatible"; } && |
| | 4292 | { enabled_any w32threads os2threads && |
| | 4293 | die "opencl currently needs --enable-pthreads or --disable-w32threads"; } |
| 4294 | 4294 | enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto || |
| 4295 | 4295 | check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 || |
| 4296 | 4296 | check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || |