Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e


Modified Files:
        configure.in 


Log Message:
Enable using ecore_list_... functions from library.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -3 -r1.141 -r1.142
--- configure.in        21 Feb 2006 18:59:06 -0000      1.141
+++ configure.in        27 Feb 2006 19:34:48 -0000      1.142
@@ -80,9 +80,9 @@
   [  --enable-hints-gnome    compile with GNOME(<2.0) hints support 
@<:@default=no@:>@],,
   enable_hints_gnome=no)
 
-AC_ARG_ENABLE(ecore-x,
-  [  --enable-ecore-x        use ecore-x interface to X11 (for testing only - 
DO NOT USE!) @<:@default=no@:>@],,
-  enable_ecore_x=no)
+AC_ARG_ENABLE(ecore,
+  [  --enable-ecore        use ecore functions (for testing only - DO NOT 
USE!) @<:@default=no@:>@],,
+  enable_ecore=no)
 
 if test "x$enable_hints_gnome" = "xyes"; then
   AC_DEFINE(ENABLE_GNOME, 1, [GNOME(<2.0) Hints])
@@ -133,16 +133,17 @@
   AC_MSG_ERROR([Fatal Error: no Imlib2 detected.]),
   $IMLIB_LIBS)
 
-if test "x$enable_ecore_x" = "xyes"; then
+if test "x$enable_ecore" = "xyes"; then
   AC_CHECK_LIB(ecore_x, ecore_x_init,
     [
+      AC_DEFINE(USE_ECORE, 1, [Ecore list support])
       AC_DEFINE(USE_ECORE_X, 1, [Ecore_x support])
       AC_SUBST(ecore_libs)
       AC_SUBST(ecore_cflags)
     ],[
       AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?)
     ])
-  ecore_libs=`ecore-config --libs`
+  ecore_libs=`ecore-config --libs-x`
   ecore_cflags=`ecore-config --cflags`
   AC_SUBST(ecore_libs)
   AC_SUBST(ecore_cflags)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to