diff -Naur ghostscript-8.71.orig/base/configure.ac ghostscript-8.71/base/configure.ac
|
|
|
402 | 402 | PNGDEVS="$PNGDEVS_ALL" |
403 | 403 | else |
404 | 404 | AC_MSG_RESULT([no]) |
405 | | AC_CHECK_LIB(png, png_check_sig, [ |
| 405 | AC_CHECK_LIB(png, png_sig_cmp, [ |
406 | 406 | AC_CHECK_HEADERS(png.h, [ |
407 | 407 | SHARE_LIBPNG=1 |
408 | 408 | PNGDEVS="$PNGDEVS_ALL" |
diff -Naur ghostscript-8.71.orig/jbig2dec/configure.ac ghostscript-8.71/jbig2dec/configure.ac
|
|
|
45 | 45 | fi |
46 | 46 | dnl libpng requires pow() which may be in libm |
47 | 47 | AC_SEARCH_LIBS([pow], [m]) |
48 | | AC_CHECK_LIB([png], [png_check_sig], [ |
| 48 | AC_CHECK_LIB([png], [png_sig_cmp], [ |
49 | 49 | AC_CHECK_LIB([z], [deflate], [ |
50 | 50 | AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)]) |
51 | 51 | LIBS="-lpng -lz $LIBS" |