]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 12 Sep 2011 17:57:53 +0000 (17:57 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 12 Sep 2011 17:57:53 +0000 (17:57 +0000)
MagickCore/accelerate.c
configure.ac

index 61c61bf3d375f1dfab1d4d32e79db1ee988959c3..c223dbecbfc3ee1d13e8396fb28604c0020bee5a 100644 (file)
@@ -396,6 +396,7 @@ static void DestroyConvolveBuffers(ConvolveInfo *convolve_info)
   cl_int
     status;
 
+  (void) status;
   if (convolve_info->convolve_pixels != (cl_mem) NULL)
     status=clReleaseMemObject(convolve_info->convolve_pixels);
   if (convolve_info->pixels != (cl_mem) NULL)
@@ -409,6 +410,7 @@ static ConvolveInfo *DestroyConvolveInfo(ConvolveInfo *convolve_info)
   cl_int
     status;
 
+  (void) status;
   if (convolve_info->kernel != (cl_kernel) NULL)
     status=clReleaseKernel(convolve_info->kernel);
   if (convolve_info->program != (cl_program) NULL)
index 5ca7753903f9efd9c1e30ce26c79181efd62bcc4..2e9f36f29957965c38353dcef51c573971c01a2d 100755 (executable)
@@ -417,7 +417,7 @@ CFLAGS="$CL_CFLAGS $CFLAGS"
 LIBS="$CL_LIBS $LIBS"
 AC_SUBST(CL_CFLAGS)
 if test "$enable_opencl" != no; then
-  if test "_OPENCL" = '1'; then
+  if test "X$ax_cv_check_cl_libcl" != Xno; then :
     MAGICK_FEATURES="OpenCL $MAGICK_FEATURES"
   fi
 fi