Module: synfig/synfig
Branch: eldruin_master
Commit: e8d46b44a053c18050bba5a5dcf051b353177998
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=e8d46b44a053c18050bba5a5dcf051b353177998

Author: Diego Barrios Romero <[email protected]>
Date:   Sun Oct 24 17:38:53 2010 +0200

PNG 1.4 library support fix thanks to Genete

---

 synfig-core/configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/synfig-core/configure.ac b/synfig-core/configure.ac
index 871f75b..478033a 100644
--- a/synfig-core/configure.ac
+++ b/synfig-core/configure.ac
@@ -446,16 +446,19 @@ AC_CHECK_LIB(png14, png_write_row,[
        PNG_LIBS="-lpng12"
        AC_DEFINE(HAVE_LIBPNG,[])
        AC_SUBST(PNG_LIBS)
+       AM_CONDITIONAL(HAVE_LIBPNG14,false)
        AM_CONDITIONAL(HAVE_LIBPNG,true)
        ],[
                AC_CHECK_LIB(png, png_write_row,[
                PNG_LIBS="-lpng"
                AC_DEFINE(HAVE_LIBPNG,[])
                AC_SUBST(PNG_LIBS)
+               AM_CONDITIONAL(HAVE_LIBPNG14,false)
                AM_CONDITIONAL(HAVE_LIBPNG,true)
                ],[
                        AC_MSG_RESULT([ *** PNG Output target disabled])
                        TARGET_PNG="no"
+                       AM_CONDITIONAL(HAVE_LIBPNG14,false)
                        AM_CONDITIONAL(HAVE_LIBPNG,false)
                ],[-lz -L${exec_prefix}/lib])
        ],[-lz -L${exec_prefix}/lib])


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to