Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:
Make inotify work without inotify in glibc.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/configure.in,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -3 -r1.189 -r1.190
--- configure.in        4 Apr 2007 11:23:41 -0000       1.189
+++ configure.in        4 Apr 2007 11:37:10 -0000       1.190
@@ -497,15 +497,10 @@
   dnl so with this check you need a very new kernel and kernel-headers!
   if test "x$use_inotify" = "xyes"; then
     AC_CHECK_LIB(c, inotify_init, [
-    AC_TRY_COMPILE(
-      [
-        #include <sys/inotify.h>
-      ],
-      [ int a = IN_MOVE_SELF; void *f = inotify_init(); ],
-      [
         AC_DEFINE(HAVE_INOTIFY, 1, [ File monitoring with Inotify ])
         AC_DEFINE(HAVE_SYS_INOTIFY, 1, [ File monitoring with Inotify - 
sys/inotify.h ])
-      ], [
+      ],
+      [
         AC_TRY_COMPILE(
           [
             #include <asm/unistd.h>
@@ -517,12 +512,9 @@
           ], [
             use_inotify="no"
           ]
-       )
+       )
       ]
     )
-    ],[
-      use_inotify="no"
-    ])
   fi
   
   #AC_MSG_CHECKING(whether FAM is to be used for filemonitoring)



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to