rendered paste bodyIndex: configure.in
===================================================================
RCS file: /cvsroot/mozilla/configure.in,v
retrieving revision 1.1773
diff -u -1 -0 -r1.1773 configure.in
--- configure.in 8 Mar 2007 18:18:51 -0000 1.1773
+++ configure.in 8 Mar 2007 20:03:04 -0000
@@ -3997,20 +3997,22 @@
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
CFLAGS="-I${PNG_DIR}/include $CFLAGS"
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
fi
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
SYSTEM_PNG=
else
AC_CHECK_LIB(png, png_get_valid, [SYSTEM_PNG=1 PNG_LIBS="-lpng $PNG_LIBS"],
SYSTEM_PNG=, $PNG_LIBS)
+ AC_CHECK_LIB(png, png_get_acTl, ,
+ SYSTEM_PNG=, $PNG_LIBS)
fi
if test "$SYSTEM_PNG" = 1; then
LIBS="$PNG_LIBS $LIBS"
AC_TRY_RUN(
#include <stdio.h>
#include <sys/types.h>
#include <png.h>
int main () {
#if PNG_LIBPNG_VER >= $MOZPNG
#ifdef PNG_UINT_31_MAX