GraphicsMagick: jxl_threads is not a hard requirement.

GraphicsMagick Commits <[email protected]> Sat, 09 Dec 2023 13:58:35 -0600
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.11055.1702151927.7794.graphicsmagick-commit@lists.sourceforge.net>
changeset 1547d047fd22 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=1547d047fd22
summary: jxl_threads is not a hard requirement.

diffstat:

 ChangeLog          |  1 +
 configure          |  2 --
 configure.ac       |  2 +-
 www/Changelog.html |  3 ++-
 4 files changed, 4 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r fa82b9fb2f60 -r 1547d047fd22 ChangeLog
--- a/ChangeLog	Sat Dec 09 13:51:07 2023 -0600
+++ b/ChangeLog	Sat Dec 09 13:58:32 2023 -0600
@@ -5,6 +5,7 @@
 	present, it may be necessary to manually set CPPFLAGs in order to
 	find the FreeType and libxml2 headers.  Also print any error
 	information that pkg-config produces.
+	jxl_threads is not a hard requirement.
 
 2023-12-08  Bob Friesenhahn  <[email protected]>
 
diff -r fa82b9fb2f60 -r 1547d047fd22 configure
--- a/configure	Sat Dec 09 13:51:07 2023 -0600
+++ b/configure	Sat Dec 09 13:58:32 2023 -0600
@@ -28933,8 +28933,6 @@
 $as_echo "$ac_cv_lib_jxl_threads_JxlThreadParallelRunnerCreate" >&6; }
 if test "x$ac_cv_lib_jxl_threads_JxlThreadParallelRunnerCreate" = xyes; then :
   passed=`expr $passed + 1`; LIB_JXL="${LIB_JXL} -ljxl_threads"
-else
-  failed=`expr $failed + 1`
 fi
 
     # Testing for decoder should also cover encoder
diff -r fa82b9fb2f60 -r 1547d047fd22 configure.ac
--- a/configure.ac	Sat Dec 09 13:51:07 2023 -0600
+++ b/configure.ac	Sat Dec 09 13:58:32 2023 -0600
@@ -3005,7 +3005,7 @@
     AC_CHECK_HEADER([jxl/decode.h],[passed=`expr $passed + 1`],[failed=`expr $failed + 1`])
     # jxl always requires hwy/brotli no extra test needed
     AC_CHECK_LIB([jxl],[JxlDecoderCreate],[passed=`expr $passed + 1`; LIB_JXL='-ljxl'],[failed=`expr $failed + 1`],[-lhwy -lbrotlidec -lbrotlienc -lbrotlicommon])
-    AC_CHECK_LIB([jxl_threads],[JxlThreadParallelRunnerCreate],[passed=`expr $passed + 1`; LIB_JXL="${LIB_JXL} -ljxl_threads"],[failed=`expr $failed + 1`])
+    AC_CHECK_LIB([jxl_threads],[JxlThreadParallelRunnerCreate],[passed=`expr $passed + 1`; LIB_JXL="${LIB_JXL} -ljxl_threads"],[])
     # Testing for decoder should also cover encoder
     AC_CHECK_LIB([brotlidec],[BrotliDecoderVersion],[passed=`expr $passed + 1`; LIB_JXL="${LIB_JXL} -lbrotlidec -lbrotlicommon"],[failed=`expr $failed + 1`],[-lbrotlicommon])
     AC_LANG_POP
diff -r fa82b9fb2f60 -r 1547d047fd22 www/Changelog.html
--- a/www/Changelog.html	Sat Dec 09 13:51:07 2023 -0600
+++ b/www/Changelog.html	Sat Dec 09 13:58:32 2023 -0600
@@ -44,7 +44,8 @@
 pkg-config is not present or misbehaves. If pkg-config is not
 present, it may be necessary to manually set CPPFLAGs in order to
 find the FreeType and libxml2 headers.  Also print any error
-information that pkg-config produces.</p></li>
+information that pkg-config produces.
+jxl_threads is not a hard requirement.</p></li>
 </ul>
 </blockquote>
 <p>2023-12-08  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>