Enable threaded PNG coder
diff --git a/ChangeLog b/ChangeLog
index eeefb09..80884a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
* Disable "random" OpenCL kernel. Previously the work load was distributed
but each started with the same random seed.
* Finished implementation of -distort rigid-affine.
+ * Enable threaded PNG coder.
2020-04-27 7.0.10-10 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.10-10, GIT revision 17205:9b0340e:20200427
diff --git a/configure b/configure
index f10e1c8..5e5a88f 100755
--- a/configure
+++ b/configure
@@ -4566,7 +4566,7 @@
MAGICK_VERSION=7.0.10-11
-MAGICK_GIT_REVISION=17221:d5e837e7f:20200503
+MAGICK_GIT_REVISION=17225:38b09fc7d:20200505
# Substitute library versioning
@@ -11838,6 +11838,16 @@
fi
+#
+# Set SETJMP_IS_THREAD_SAFE define.
+#
+case "${host_os}" in
+ solaris2* ) ;;
+ *)
+$as_echo "#define SETJMP_IS_THREAD_SAFE 1" >>confdefs.h
+ ;;
+esac
+
# Configure libtool
: ${AR_FLAGS=cr}
enable_dlopen=yes
diff --git a/configure.ac b/configure.ac
index 2ff13c8..6111943 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,6 +561,14 @@
fi
AC_SUBST(LFS_CPPFLAGS)
+#
+# Set SETJMP_IS_THREAD_SAFE define.
+#
+case "${host_os}" in
+ solaris2* ) ;;
+ *) AC_DEFINE(SETJMP_IS_THREAD_SAFE,1,[Setjmp/longjmp are thread safe]) ;;
+esac
+
# Configure libtool
: ${AR_FLAGS=cr}
AC_LIBTOOL_DLOPEN