Fresco/Berlin configure.ac,1.58,1.59

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin
In directory purcel:/tmp/cvs-serv6832

Modified Files:
	configure.ac 
Log Message:
Patch send in by bughunter: Fixes libpng detection on Darwin.


Index: configure.ac
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/configure.ac,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- configure.ac	29 Jan 2003 01:33:06 -0000	1.58
+++ configure.ac	29 Jan 2003 13:53:24 -0000	1.59
@@ -73,11 +73,12 @@
 fi
 
 CPPFLAGS="$CPPFLAGS $PNG_CPPFLAGS"
-LDFLAGS="$LD_FLAGS $PNG_LDFLAGS"
+LDFLAGS="$LD_FLAGS $PNG_LDFLAGS -lz -lm"
 
 AC_CHECK_HEADERS(png.h)
 AC_CHECK_LIB(png, png_read_info,,
-             [AC_MSG_ERROR([can't compile libBerlin without libpng])])  
+	AC_CHECK_LIB(png12, png_read_info,,
+             [AC_MSG_ERROR([can't compile libBerlin without libpng])]))  
 
 dnl ------------------------------------------------------------------
 dnl Graphics environment
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.