shithub: jbig2

Download patch

ref: 3a424b8fa0e30b76b49b9c2f2fe167e5dc653073
parent: 07abb8a54e2d910e3b5a73341b7912948e0d0b61
author: Chris Liddell <[email protected]>
date: Fri Aug 24 11:19:29 EDT 2012

Update the libpng check to a non-deprecated API call.

--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@
   fi
   dnl libpng requires pow() which may be in libm
   AC_SEARCH_LIBS([pow], [m])
-  AC_CHECK_LIB([png], [png_check_sig], [
+  AC_CHECK_LIB([png], [png_create_write_struct], [
     AC_CHECK_LIB([z], [deflate], [
       AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)])
       LIBS="-lpng -lz $LIBS"