Maybe we could do: (on ecore_con_init())
if (HAVE_CURL && !ecore_con_url_init()) { // Curl is available but the module still failed to load } This way you only try to initialize url if you have curl. On Tue, Aug 11, 2009 at 7:09 PM, Vincent Torri <vto...@univ-evry.fr> wrote: > > > On Tue, 11 Aug 2009, Andre Dieb wrote: > > As ecore_con_url is a submodule of ecore_con, I think it should be >> initialized on ecore_con_init() (and therefore shut down on >> ecore_con_shutdown()). >> > > the problem is that, currently, ecore_con_url_init() returns 0 if curl is > not detected or if it is disabled. Hence, ecore_con_init() would always > return 0 in that case, that is, would always fail (as we must test the > returned value of all the _init() functions). > > Vincent > -- André Dieb Martins Embedded Systems and Pervasive Computing Lab (Embedded) Electrical Engineering Department (DEE) Center of Electrical Engineering and Informatics (CEEI) Federal University of Campina Grande (UFCG) Blog: http://genuinepulse.blogspot.com/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel