]>
Commit | Line | Data |
---|---|---|
95129837 JB |
1 | --- samba-4.7.6/lib/replace/wscript.orig 2018-04-01 20:31:57.522637016 +0200 |
2 | +++ samba-4.7.6/lib/replace/wscript 2018-04-01 23:00:11.129202131 +0200 | |
711565cb | 3 | @@ -304,20 +304,6 @@ def configure(conf): |
95129837 JB |
4 | |
5 | strlcpy_in_bsd = False | |
6 | ||
7 | - # libbsd on some platforms provides strlcpy and strlcat | |
8 | - if not conf.CHECK_FUNCS('strlcpy strlcat'): | |
9 | - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', | |
10 | - checklibc=True): | |
11 | - strlcpy_in_bsd = True | |
12 | - if not conf.CHECK_FUNCS('getpeereid'): | |
13 | - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') | |
14 | - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') | |
711565cb AM |
15 | - if not conf.CHECK_FUNCS('setproctitle_init'): |
16 | - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') | |
95129837 JB |
17 | - |
18 | - if not conf.CHECK_FUNCS('closefrom'): | |
19 | - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') | |
711565cb | 20 | - |
95129837 JB |
21 | conf.CHECK_CODE(''' |
22 | struct ucred cred; | |
711565cb AM |
23 | socklen_t cred_len; |
24 |