diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-11-03 00:48:38 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-11-04 03:53:15 -0500 |
commit | 7ce8b22cb2e9cda31b257e81e9b882cd76fd9f3c (patch) | |
tree | 703a95c60e77948f3144ec7f9ae598d992f2edd6 /SConstruct | |
parent | 5c7173026f918e1d09a317db6b574c35ce6d568e (diff) | |
download | lighttpd-git-7ce8b22cb2e9cda31b257e81e9b882cd76fd9f3c.tar.gz |
[build] detect inotify header <sys/inotify.h>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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( |