Last change
on this file was 745, checked in by Silvan Scherrer, 13 years ago |
Samba Server: updated trunk to 3.6.0
|
File size:
597 bytes
|
Line | |
---|
1 | #!/usr/bin/env python
|
---|
2 |
|
---|
3 | conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=False)
|
---|
4 |
|
---|
5 | conf.CHECK_FUNCS('inotify_init')
|
---|
6 |
|
---|
7 | conf.CHECK_VARIABLE('__NR_inotify_init')
|
---|
8 | conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True)
|
---|
9 | conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True)
|
---|
10 |
|
---|
11 | conf.CHECK_DECLS('__NR_inotify_init', reverse=True, headers='asm/unistd.h')
|
---|
12 |
|
---|
13 | if (conf.CONFIG_SET('HAVE___NR_INOTIFY_INIT') and
|
---|
14 | (conf.CONFIG_SET('HAVE_LINUX_INOTIFY_H') or
|
---|
15 | conf.CONFIG_SET('HAVE_SYS_INOTIFY_H'))):
|
---|
16 | conf.DEFINE('HAVE_LINUX_INOTIFY', 1)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.