Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:
Check for sys/inotify.h first. This will become standard and wont be found
if the test is the other way around.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/configure.in,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -3 -r1.186 -r1.187
--- configure.in        31 Mar 2007 14:55:15 -0000      1.186
+++ configure.in        3 Apr 2007 19:20:04 -0000       1.187
@@ -499,21 +499,21 @@
     AC_CHECK_LIB(c, inotify_init, [
     AC_TRY_COMPILE(
       [
-        #include <asm/unistd.h>
-        #include <linux/inotify.h>
+        #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 <sys/inotify.h>
+            #include <asm/unistd.h>
+            #include <linux/inotify.h>
           ],
-          [ int a = IN_MOVE_SELF; void *f = inotify_nit(); ],
+          [ 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 ])
           ], [
             use_inotify="no"
           ]



-------------------------------------------------------------------------
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