configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 74388d2fbdd3ffb7d319e74dd1a7c5592410aacd
Author: Tor Lillqvist <t...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to