jbig2dec
Ralph Giles <[email protected]> Wed, 14 Aug 2002 07:21:18 -0700
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jbig2dec/jbig2dec
In directory usw-pr-cvs1:/tmp/cvs-serv17804
Modified Files:
configure.ac
Log Message:
libpng calls pow() which on some systems means we need -lm.
Index: configure.ac
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/configure.ac,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- configure.ac 7 Aug 2002 10:18:42 -0000 1.13
+++ configure.ac 14 Aug 2002 14:21:15 -0000 1.14
@@ -14,6 +14,8 @@
AC_PROG_RANLIB
# Checks for libraries.
+dnl libpng requires pow() which may be in libm
+AC_SEARCH_LIBS([pow], [m])
AC_CHECK_LIB([png], [png_check_sig], [
AC_CHECK_LIB([z], [deflate], [
AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)])