summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-11-03 00:48:38 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-11-04 03:53:15 -0500
commit7ce8b22cb2e9cda31b257e81e9b882cd76fd9f3c (patch)
tree703a95c60e77948f3144ec7f9ae598d992f2edd6 /SConstruct
parent5c7173026f918e1d09a317db6b574c35ce6d568e (diff)
downloadlighttpd-git-7ce8b22cb2e9cda31b257e81e9b882cd76fd9f3c.tar.gz
[build] detect inotify header <sys/inotify.h>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 9db2ac2e..b044af66 100644
--- a/SConstruct
+++ b/SConstruct
@@ -371,6 +371,7 @@ if 1:
'sys/devpoll.h',
'sys/epoll.h',
'sys/filio.h',
+ 'sys/inotify.h',
'sys/loadavg.h',
'sys/poll.h',
'sys/port.h',
@@ -519,7 +520,7 @@ if 1:
LIBDBI = 'dbi',
)
- if env['with_fam']:
+ if env['with_fam'] and not self.CheckCHeader('sys/inotify.h'):
if not autoconf.CheckLibWithHeader('fam', 'fam.h', 'C'):
fail("Couldn't find fam")
autoconf.env.Append(