Autoconf Macro for OpenCL on OS X

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
paxswill
Posts: 1
Joined: 2011-12-22T06:58:26-07:00
Authentication code: 8675308

Autoconf Macro for OpenCL on OS X

Post 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).
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Autoconf Macro for OpenCL on OS X

Post by magick »

We'll apply a patch to the Subversion trunk. Thanks.
Post Reply