diff options
author | Kai Blin <kai@samba.org> | 2010-03-21 12:20:52 +0100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:02 +1000 |
commit | 048b821b29566613a0e494eb2712abcf7f62bd6e (patch) | |
tree | 6a64295100c428f289d976401e2c2800594f0d0e /source3 | |
parent | fcab2b33053980f19aec0adc7db8934a614b89cc (diff) | |
download | samba-048b821b29566613a0e494eb2712abcf7f62bd6e.tar.gz samba-048b821b29566613a0e494eb2712abcf7f62bd6e.tar.bz2 samba-048b821b29566613a0e494eb2712abcf7f62bd6e.zip |
build: check for inotify support
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 65e401b1ee..23863675c0 100644 --- a/source3/wscript +++ b/source3/wscript @@ -39,6 +39,12 @@ def configure(conf): conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h') + # Check for inotify support + conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=False) + conf.CHECK_FUNCS('inotify_init') + if "HAVE_LINUX_INOTIFY_H" in conf.env and "HAVE_INOTIFY_INIT" in conf.env: + conf.DEFINE('HAVE_INOTIFY', 1) + # Look for CUPS conf.find_program('cups-config', var='CUPS_CONFIG') if conf.env.CUPS_CONFIG: |