Hi,

herewith a small patch for evas that check for the presence of libpng14.
I had trouble today compile e17 with libpng14 because the configura file
was picking up libpng12 instead.

The patch is very simple but I probably did not indent it correctly.

I am also finishing a patch for e17 that implement eina_log in the
enlightenment modules (for now). I wanted to know if i should do the
same thing on the illume and illume2 modules as well, or if I can let
them as it is. The patch is almost finished but it needs some more
testing (compilation and run checks mostly).

Mathieu

Index: evas_check_loader.m4
===================================================================
--- evas_check_loader.m4        (revision 46731)
+++ evas_check_loader.m4        (working copy)
@@ -174,12 +174,11 @@
 evas_image_loader_[]$1[]_cflags=""
 evas_image_loader_[]$1[]_libs=""
 
-PKG_CHECK_EXISTS([libpng12],
-   [PKG_CHECK_MODULES([PNG], [libpng12], [have_dep="yes" 
requirement="libpng12"], [have_dep="no"])],
-   [PKG_CHECK_EXISTS([libpng10],
-       [PKG_CHECK_MODULES([PNG], [libpng10], [have_dep="yes" 
requirement="libpng10"], [have_dep="no"])],
-       [PKG_CHECK_MODULES([PNG], [libpng], [have_dep="yes" 
requirement="libpng"], [have_dep="no"])])]
-)
+PKG_CHECK_EXISTS([libpng14],
+   [PKG_CHECK_MODULES([PNG], [libpng14], [have_dep="yes" 
requirement="libpng14"], [have_dep="no"])],
+   [PKG_CHECK_EXISTS([libpng12], [PKG_CHECK_MODULES([PNG], [libpng12], 
[have_dep="yes" requirement="libpng12"], [have_dep="no"])],
+           [PKG_CHECK_EXISTS([libpng10], [PKG_CHECK_MODULES([PNG], [libpng10], 
[have_dep="yes" requirement="libpng10"], [have_dep="no"])],
+                     [PKG_CHECK_MODULES([PNG], [libpng], [have_dep="yes" 
requirement="libpng"], [have_dep="no"])])])])
 
 evas_image_loader_[]$1[]_cflags="${PNG_CFLAGS}"
 evas_image_loader_[]$1[]_libs="${PNG_LIBS}"
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to