summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-09 11:50:07 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-09 13:46:42 +0300
commit6d41b096e6a83a567a940884c3c8168682f70a26 (patch)
tree98f8eade36a7659f6e9674b375ebb87d4c81b908 /configure.ac
parentFix for C++03, and const-improve (diff)
downloadcore-6d41b096e6a83a567a940884c3c8168682f70a26.tar.gz
core-6d41b096e6a83a567a940884c3c8168682f70a26.zip
OpenCL is not available for iOS or Android
Change-Id: Iac0cd17dfa0544ec686120d50a6cfdb70336e042
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c351f0b7f9c4..c9369498d88f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10322,7 +10322,7 @@ dnl =================================================
AC_MSG_CHECKING([whether to build with the OpenCL support.])
ENABLE_OPENCL=
-if test "x$enable_opencl" != "xno"; then
+if test $_os != iOS -a $_os != Android -a "x$enable_opencl" != "xno"; then
AC_MSG_RESULT([yes])
enable_opencl=yes
ENABLE_OPENCL=TRUE