Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:
Need to check for IN_MOVE_SELF too, added somewhere in the 2.6.13 rc
series.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -3 -r1.103 -r1.104
--- configure.in        29 Aug 2005 15:15:59 -0000      1.103
+++ configure.in        29 Aug 2005 16:19:53 -0000      1.104
@@ -868,12 +868,15 @@
 dnl It's hard to find a good test on how to check the correct
 dnl inotify version. They changed the headers a lot.
 dnl in kernel 2.6.13 __NR_inotify_init was added to the defined syscalls
-dnl in asm/unistd.h
+dnl in asm/unistd.h and IN_MOVE_SELF was added to linux/inotify.h
 dnl so with this check you need a very new kernel and kernel-headers!
 if test "x$use_inotify" = "xyes"; then
   AC_TRY_COMPILE(
-    [#include <asm/unistd.h>],
-    [int i = __NR_inotify_init;],
+    [
+      #include <asm/unistd.h>
+      #include <linux/inotify.h>
+    ],
+    [int a = __NR_inotify_init; int b = IN_MOVE_SELF;],
     [
       AC_DEFINE(HAVE_INOTIFY, 1, [ File monitoring with Inotify ])
       use_inotify="yes"




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to