Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        configure.in 


Log Message:


better configure checks mean that evas will build on rhas 3

===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- configure.in        3 Jul 2006 04:08:47 -0000       1.163
+++ configure.in        3 Jul 2006 08:32:01 -0000       1.164
@@ -115,7 +115,7 @@
   qt_dir="/opt/Qtopia";
 ])
 # check for freetype
-AC_PATH_GENERIC(freetype, 9.5.0,
+AC_PATH_GENERIC(freetype, 9.3.0,
   [ ],
   [ AC_MSG_ERROR(Freetype isn't installed) ]
 )
@@ -708,10 +708,21 @@
     [ have_png="no" ]
   )
 fi
+# RHEL 3 has broken png libs. the default /usr/include/png*.h files are from
+# libpng 1.0 but the default libpng.so is from 1.2 - bad bad. need to try link
+# to libpng10 first.
 if test "x$have_png" = "xyes"; then
   AC_DEFINE(BUILD_LOADER_PNG, 1, [PNG Image Loader Support])
   png_cflags=""
-  png_libs="-lpng -lz -lm"
+  AC_CHECK_LIB(libpng10, png_check_sig, [
+    png_libs="-lpng10 -lz -lm"
+  ], [
+    AC_CHECK_LIB(libpng, png_check_sig, [
+      have_png="no"
+    ], [
+      png_libs="-lpng -lz -lm"
+    ], -lz -lm)
+  ], -lz -lm)
 fi
 
 AM_CONDITIONAL(BUILD_LOADER_PNG, test x$have_png = xyes)



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to