jbig2dec
Ralph Giles <[email protected]> Mon, 08 Jul 2002 07:10:29 -0700
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jbig2dec/jbig2dec In directory usw-pr-cvs1:/tmp/cvs-serv28830 Modified Files: configure.ac Log Message: Don't look for png.h specifically. This was causing problems with png.h was in an -I in CFLAGS, but not the standard place. Index: configure.ac =================================================================== RCS file: /cvsroot/jbig2dec/jbig2dec/configure.ac,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- configure.ac 8 Jul 2002 13:40:15 -0000 1.4 +++ configure.ac 8 Jul 2002 14:10:27 -0000 1.5 @@ -18,12 +18,10 @@ # Checks for libraries. AC_CHECK_LIB([png], [png_check_sig], [ - AC_CHECK_HEADER([png.h], [ - AC_CHECK_LIB([z], [deflate], [ - AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)]) - LIBS="$LIBS -lpng -lz" - LIBOBJS="$LIBOBJS jbig2_image_png.o" - ]) + AC_CHECK_LIB([z], [deflate], [ + AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)]) + LIBS="$LIBS -lpng -lz" + LIBOBJS="$LIBOBJS jbig2_image_png.o" ]) ])