mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
94f31295b1
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11816 Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
15 lines
504 B
Python
15 lines
504 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
# Check for inotify support (Skip if we are SunOS)
|
|
#NOTE: illumos provides sys/inotify.h but is not an exact match for linux
|
|
host_os = sys.platform
|
|
if host_os.rfind('sunos') == -1:
|
|
conf.CHECK_HEADERS('sys/inotify.h', add_headers=False)
|
|
if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')):
|
|
conf.DEFINE('HAVE_LINUX_INOTIFY', 1)
|
|
|
|
conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True)
|
|
conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True)
|