summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-01-08 14:03:11 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2022-01-08 14:07:54 -0500
commit448621e0261712984c784e6b10ba940891060a3a (patch)
tree0dbb9a85f8cb20ef8521ff8c679a006e14383c34 /SConstruct
parentf95ca5ef3b2890abfac73e7a0d59695442b1e37a (diff)
downloadlighttpd-git-448621e0261712984c784e6b10ba940891060a3a.tar.gz
[build] collect Sun-specific headers and funcs
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct12
1 files changed, 7 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index d096cf3d..686a4218 100644
--- a/SConstruct
+++ b/SConstruct
@@ -370,15 +370,12 @@ if 1:
'linux/random.h',
'malloc.h',
'poll.h',
- 'port.h',
'pwd.h',
'stdint.h',
'stdlib.h',
'string.h',
'strings.h',
- 'sys/devpoll.h',
'sys/epoll.h',
- 'sys/filio.h',
'sys/inotify.h',
'sys/loadavg.h',
'sys/poll.h',
@@ -431,7 +428,6 @@ if 1:
'mmap',
'pipe2',
'poll',
- 'port_create',
'pread',
'preadv',
'pwrite',
@@ -451,7 +447,13 @@ if 1:
autoconf.haveFunc('getentropy', 'sys/random.h')
autoconf.haveFunc('getrandom', 'linux/random.h')
if re.compile("sunos|solaris").search(env['PLATFORM']):
- autoconf.haveCHeader('priv.h')
+ autoconf.haveCHeaders([
+ 'port.h',
+ 'priv.h',
+ 'sys/devpoll.h',
+ 'sys/filio.h',
+ ])
+ autoconf.haveFunc('port_create', 'port.h')
autoconf.haveFunc('setpflags', 'priv.h')
autoconf.haveTypes(Split('pid_t size_t off_t'))