diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-07-12 19:11:21 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-07-12 19:12:34 +0100 |
commit | 5e28f6e9d3021171b12a7827cd5c93cfda1fcd90 (patch) | |
tree | b35633f2297399f23759a0ea4ff00ee6d9fe66f2 /configure.ac | |
parent | 420aa16af0bbab4bdef80ceeb8d44cabe65840e0 (diff) |
Disable openCL by default on Mac (for now).
Change-Id: Iaf54a64a9e910eaffe1526f3471df8f98854343d
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 3f9dbdd087b1..6f5fe8dd611d 100644 --- a/configure.ac +++ b/configure.ac @@ -9811,14 +9811,15 @@ OPENCL_LIBS= OPENCL_CFLAGS= ENABLE_OPENCL= AC_MSG_CHECKING([OpenCL]) -if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin; then - # OS X - AC_MSG_RESULT([yes, always on OS X]) - ENABLE_OPENCL=TRUE - OPENCL_CFLAGS= - OPENCL_LIBS="-framework OpenCL" - AC_DEFINE(HAVE_FEATURE_OPENCL) -elif test -z "$with_opencl_sdk" -o "$with_opencl_sdk" = no; then +dnl if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin; then +dnl # OS X +dnl AC_MSG_RESULT([yes, always on OS X]) +dnl ENABLE_OPENCL=TRUE +dnl OPENCL_CFLAGS= +dnl OPENCL_LIBS="-framework OpenCL" +dnl AC_DEFINE(HAVE_FEATURE_OPENCL) +dnl +if test -z "$with_opencl_sdk" -o "$with_opencl_sdk" = no; then AC_MSG_RESULT([no]) else if test -d "$with_opencl_sdk/include"; then |