summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-06-26 14:04:25 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-06-27 19:34:38 +0100
commitf4ea3fd5c1ee0e26be8383b0cc209a0d8de3f433 (patch)
tree087883c451d348c60e2275b11ad6e0ebbb9a5892 /configure.ac
parentb4be964fa2eece48e7ac1ae7c2c2690890ee899c (diff)
use #if to avoid gotchas, move header to include, make UI conditional.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 12fe94a39f9b..4615ef365d71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9854,6 +9854,7 @@ else
OPENCL_CFLAGS="-I$with_opencl_sdk/include"
OPENCL_LIBS="-L$with_opencl_sdk/lib/x86 -lOpenCL"
AC_MSG_RESULT([found at path $with_opencl_sdk])
+ AC_DEFINE(HAVE_FEATURE_OPENCL)
else
AC_MSG_ERROR([no headers found found at $with_opencl_sdk/include ])
fi