From: Cristy Date: Sat, 28 Sep 2019 18:34:20 +0000 (-0400) Subject: https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=36808 X-Git-Tag: 7.0.8-67~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d68803dc7dff6866035af8a0332313d3d6a1ac2e;p=imagemagick https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=36808 --- diff --git a/m4/ax_opencl.m4 b/m4/ax_opencl.m4 index e39c67ece..86ef05825 100644 --- a/m4/ax_opencl.m4 +++ b/m4/ax_opencl.m4 @@ -42,10 +42,10 @@ AC_REQUIRE([ACX_PTHREAD])dnl AC_ARG_ENABLE([opencl], [AC_HELP_STRING([--disable-opencl], [do not use OpenCL])], - [enable_opencl=$enableval], - [enable_opencl='yes']) + [disable_opencl=$enableval], + [disable_opencl='yes']) -if test "$enable_opencl" = 'no'; then +if test "$disable_opencl" = 'yes'; then AC_LANG_PUSH([$1]) AX_LANG_COMPILER_MS AS_IF([test X$ax_compiler_ms = Xno],