]> granicus.if.org Git - imagemagick/commitdiff
https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=36808
authorCristy <urban-warrior@imagemagick.org>
Sat, 28 Sep 2019 18:34:20 +0000 (14:34 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 28 Sep 2019 18:34:20 +0000 (14:34 -0400)
m4/ax_opencl.m4

index e39c67eceb2c823ccfc8af923f3fc25322755283..86ef058251a82d321a3bc606064767cf41e3dfdd 100644 (file)
@@ -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],