On Thursday, December 6, 2012, Sebastian Dransfeld wrote: > Den 6. des. 2012 kl. 01:57 skrev "Enlightenment SVN" < > [email protected] <javascript:;>>: > > > Log: > > efl: simplify inotify by moving it to common. > > > > also deprecate very ancient inotify usage by direct syscall. > > > > > > Can you also do ecore_file?
It should be working, no? Let me know of issues > > S. > > > > > > Author: barbieri > > Date: 2012-12-05 16:57:29 -0800 (Wed, 05 Dec 2012) > > New Revision: 80292 > > Trac: http://trac.enlightenment.org/e/changeset/80292 > > > > Modified: > > trunk/efl/configure.ac trunk/efl/m4/eio_check_options.m4 > trunk/efl/src/Makefile_Eio.am trunk/efl/src/lib/eio/eio_monitor_inotify.c > > > > Modified: trunk/efl/configure.ac > > =================================================================== > > --- trunk/efl/configure.ac 2012-12-06 00:35:14 UTC (rev 80291) > > +++ trunk/efl/configure.ac 2012-12-06 00:57:29 UTC (rev 80292) > > @@ -104,6 +104,8 @@ > > > > #### Default values > > > > +want_inotify="no" > > + > > requirements_pc_crypto="" > > requirements_pc_deps_crypto="" > > requirements_libs_crypto="" > > @@ -277,6 +279,11 @@ > > MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic" > > MODULE_EXT=".dll" > > ;; > > + linux*) > > + want_inotify="yes" > > + MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic" > > + MODULE_EXT=".so" > > + ;; > > *) > > MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic" > > MODULE_EXT=".so" > > @@ -474,6 +481,17 @@ > > unistd.h \ > > ]) > > > > +have_inotify="no" > > +if test "x${want_inotify}" = "xyes" ; then > > + AC_CHECK_HEADER([sys/inotify.h], > > + [ > > + AC_DEFINE([HAVE_INOTIFY], [1], [File monitoring with Inotify]) > > + have_inotify="yes" > > + ], > > + [have_inotify="no"]) > > +fi > > +AM_CONDITIONAL([HAVE_INOTIFY], [test "x${have_inotify}" = "xyes"]) > > + > > EFL_CHECK_PATH_MAX > > > > > > @@ -1825,19 +1843,13 @@ > > > > # cserve2 only works on Linux so far. > > > > -if test "x${efl_func_shm_open}" = "xno" ; then > > +if test "x${efl_func_shm_open}" = "xno" -o "x${have_inotify}" = "xno"; > then > > want_evas_cserve2="no" > > fi > > > > -if test "x${want_evas_cserve2}" = "xyes" ; then > > - AC_CHECK_HEADERS([sys/epoll.h sys/inotify.h sys/signalfd.h], > > - [], > > - [want_evas_cserve2="no"]) > > -fi > > - > > -if test "x${want_evas_cserve2}" = "xyes" ; then > > - AC_DEFINE([EVAS_CSERVE2], [1], [Shared cache server.]) > > -fi > > +AC_DEFINE_IF([EVAS_CSERVE2], > > + [test "x${want_evas_cserve2}" = "xyes"], > > + [1], [Shared cache server.]) > > AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"]) > > > > ### Configuration > > @@ -2368,18 +2380,6 @@ > > ], > > [want_poll="yes"]) > > > > -AC_ARG_ENABLE([inotify], > > - [AC_HELP_STRING([--disable-inotify], > > - [disable inotify in the ecore_file module. @<:@default=enabled@ > :>@])], > > - [ > > - if test "x${enableval}" = "xyes" ; then > > - want_inotify="yes" > > - else > > - want_inotify="no" > > - fi > > - ], > > - [want_inotify="yes"]) > > - > > AC_ARG_ENABLE([atfile-source], > > [AC_HELP_STRING([--disable-atfile-source], > > [disable use of atfile source functions as openat and mkdirat > @<:@default=detect@:>@])], > > @@ -2440,19 +2440,6 @@ > > > > ### Checks for header files > > > > -have_inotify="no" > > -if test "x${want_inotify}"enlightenment-devel mailing list > [email protected] <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
