FYI: libpng 1.2

Hi,

Just an F.Y.I: Amaya 6.4 appears to build succesfully against
externally-provided (--without-graphic-libs) libpng 1.2, if the following
version check is adjusted, as follows.

I haven't really banged a lot at it, but I did not notice any compiler 
diagnostics during the build, and in browser mode all .png files I tried 
came up just fine.

-- 
Sam


--- Amaya/configure.in.orig	2002-10-07 23:39:57.000000000 -0400
+++ Amaya/configure.in	2002-10-07 23:40:25.000000000 -0400
@@ -476,8 +476,8 @@
         )
 dnl    
 dnl
-    AC_MSG_CHECKING([for libpng version = 1.0.x])
-    AC_EGREP_CPP([x \"1.0\..*\" *x],
+    AC_MSG_CHECKING([for libpng version = 1.0.x or 1.2.x])
+    AC_EGREP_CPP([x \"1.[02]\..*\" *x],
         [#include <png.h>
 	x PNG_LIBPNG_VER_STRING x],
 dnl

Received on Tuesday, 8 October 2002 03:34:46 UTC