On Fri, Feb 24, 2012 at 12:23 PM, Vincent Torri <vincent.to...@gmail.com> wrote: > On Fri, Feb 24, 2012 at 12:20 PM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: >> Log: >> ecore: add Exotic support. >> >> >> Author: cedric >> Date: 2012-02-24 03:20:25 -0800 (Fri, 24 Feb 2012) >> New Revision: 68402 >> Trac: http://trac.enlightenment.org/e/changeset/68402 >> >> Added: >> trunk/ecore/m4/efl_gettimeofday.m4 >> Modified: >> trunk/ecore/configure.ac trunk/ecore/src/lib/ecore/Ecore.h >> trunk/ecore/src/lib/ecore/Makefile.am trunk/ecore/src/lib/ecore/ecore.c >> trunk/ecore/src/lib/ecore/ecore_getopt.c >> trunk/ecore/src/lib/ecore/ecore_main.c >> trunk/ecore/src/lib/ecore/ecore_pipe.c >> trunk/ecore/src/lib/ecore/ecore_private.h >> trunk/ecore/src/lib/ecore/ecore_time.c >> >> Modified: trunk/ecore/configure.ac >> =================================================================== >> --- trunk/ecore/configure.ac 2012-02-24 11:20:18 UTC (rev 68401) >> +++ trunk/ecore/configure.ac 2012-02-24 11:20:25 UTC (rev 68402) >> @@ -473,6 +473,21 @@ >> ;; >> esac >> >> + >> +### Checks for portability layer >> + >> +PKG_CHECK_MODULES([EXOTIC], >> + [exotic], >> + [enable_exotic="yes"], >> + [enable_exotic="no"]) >> + >> +if test "x${enable_exotic}" = "xyes"; then >> + requirement_exotic="exotic ${requirement_exotic}" >> + >> + AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.]) >> +fi >> +AM_CONDITIONAL([ECORE_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"]) >> + >> AC_SUBST(EFL_ECORE_BUILD) >> AC_SUBST(EFL_ECORE_CON_BUILD) >> AC_SUBST(EFL_ECORE_EVAS_BUILD) >> >> Modified: trunk/ecore/src/lib/ecore/Ecore.h >> =================================================================== >> --- trunk/ecore/src/lib/ecore/Ecore.h 2012-02-24 11:20:18 UTC (rev 68401) >> +++ trunk/ecore/src/lib/ecore/Ecore.h 2012-02-24 11:20:25 UTC (rev 68402) >> @@ -320,7 +320,9 @@ >> # include <signal.h> >> #else >> # include <sys/time.h> >> -# include <signal.h> >> +# if !defined (EXOTIC_NO_SIGNAL) > > wtf is this ????
Exotic tell you that the OS doesn't provide signal. That's it. There is no way to properly detect it in all case (there is crazy system in the wild land that do provide this header but don't implement them for example...). -- Cedric BAIL ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel