Page 1 of 1

Autoconf Macro for OpenCL on OS X

Posted: 2011-12-22T07:32:46-07:00
by paxswill
The Autoconf macro for detecting OpenCL is slightly broken on OS X. It currently makes the assumption that X11 is not installed, but it is an optional install so it's available on some systems. Line 101 of m4/ax_opencl.m4 is currently

Code: Select all

 AS_IF([test "X$ax_cv_check_cl_libcl" = Xno -a X$no_x = Xyes],
I'm pretty sure

Code: Select all

 AS_IF([test "X$ax_cv_check_cl_libcl" = Xno],
will work better (can't easily check right now, sorry).

Re: Autoconf Macro for OpenCL on OS X

Posted: 2011-12-22T07:49:38-07:00
by magick
We'll apply a patch to the Subversion trunk. Thanks.