fixing function name check in libpng. bug 257197. patch from asmith15@learn.senecac.on.ca. r=me
authorpavlov@pavlov.net
Thu, 19 Apr 2007 18:27:46 -0700
changeset 663 af6eab8a6b3564ee1e530e91794f6fef9df9007d
parent 662 8fa2cf900c78c7ae4a2d2bd39d6a5d77361a3d29
child 664 6e60b89aa8288f30125ce729a7058800f6497e4e
push idunknown
push userunknown
push dateunknown
reviewersme
bugs257197
milestone1.9a4pre
fixing function name check in libpng. bug 257197. patch from asmith15@learn.senecac.on.ca. r=me
configure.in
--- a/configure.in
+++ b/configure.in
@@ -3990,17 +3990,17 @@ if test -n "${PNG_DIR}" -a "${PNG_DIR}" 
     LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
 fi
 if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
     SYSTEM_PNG=
 else
     _SAVE_PNG_LIBS=$PNG_LIBS
     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, ,
+    AC_CHECK_LIB(png, png_get_acTL, ,
                  [SYSTEM_PNG= PNG_LIBS=$_SAVE_PNG_LIBS], $_SAVE_PNG_LIBS)
 fi
 if test "$SYSTEM_PNG" = 1; then
     LIBS="$PNG_LIBS $LIBS"
     AC_TRY_COMPILE([ #include <stdio.h>
                      #include <sys/types.h>
                      #include <png.h> ],
                    [ #if PNG_LIBPNG_VER < $MOZPNG