5 # Check for inotify support (Skip if we are SunOS)
6 #NOTE: illumos provides sys/inotify.h but is not an exact match for linux
8 if host_os.rfind('sunos') == -1:
9 conf.CHECK_HEADERS('sys/inotify.h', add_headers=False)
10 if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')):
11 conf.DEFINE('HAVE_LINUX_INOTIFY', 1)
13 conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True)
14 conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True)