From 74388d2fbdd3ffb7d319e74dd1a7c5592410aacd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 11 Jul 2013 17:13:01 +0300 Subject: Handle --without-opencl-sdk or --with-opencl-sdk=no Needed especially for OS X where building the OpenCL code is on by default, in case you still want to bypass it (if it is broken). Change-Id: I47584890869ef2b5a77e0cb68a110d49e1ff4755 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3db18131c587..3f9dbdd087b1 100644 --- a/configure.ac +++ b/configure.ac @@ -9818,7 +9818,7 @@ if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin OPENCL_CFLAGS= OPENCL_LIBS="-framework OpenCL" AC_DEFINE(HAVE_FEATURE_OPENCL) -elif test "z$with_opencl_sdk" = "z"; then +elif test -z "$with_opencl_sdk" -o "$with_opencl_sdk" = no; then AC_MSG_RESULT([no]) else if test -d "$with_opencl_sdk/include"; then -- cgit v1.2.3