From 479f628f890e8caa543c1bbf0e86498c7ddcb4f8 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 3 Apr 2007 19:20:04 +0000 Subject: [PATCH] Check for sys/inotify.h first. This will become standard and wont be found if the test is the other way around. SVN revision: 29325 --- legacy/ecore/configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index 9b1d17bc7b..ddb33ea3eb 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -499,21 +499,21 @@ if test "x$have_ecore_file" = "xyes"; then AC_CHECK_LIB(c, inotify_init, [ AC_TRY_COMPILE( [ - #include - #include + #include ], [ 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 + #include + #include ], - [ 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" ]