Autoconf Macro for OpenCL on OS X
Posted: 2011-12-22T07:32:46-07:00
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 I'm pretty sure will work better (can't easily check right now, sorry).
Code: Select all
AS_IF([test "X$ax_cv_check_cl_libcl" = Xno -a X$no_x = Xyes],
Code: Select all
AS_IF([test "X$ax_cv_check_cl_libcl" = Xno],