From d68803dc7dff6866035af8a0332313d3d6a1ac2e Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 28 Sep 2019 14:34:20 -0400 Subject: [PATCH] https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=36808 --- m4/ax_opencl.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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], -- 2.40.0