[Libreoffice-commits] core.git: configure.ac
Tor Lillqvist
tml at iki.fi
Thu Jul 11 07:16:00 PDT 2013
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74388d2fbdd3ffb7d319e74dd1a7c5592410aacd
Author: Tor Lillqvist <tml at iki.fi>
Date: Thu Jul 11 17:13:01 2013 +0300
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
diff --git a/configure.ac b/configure.ac
index 3db1813..3f9dbdd 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
More information about the Libreoffice-commits
mailing list