mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
lib/replace: Fix detection of prctl
This commit is contained in:
parent
debb2b2b9e
commit
80f42df4ec
@ -266,6 +266,14 @@ __sys_llseek syslog _telldir __telldir textdomain timegm
|
||||
utimensat vsyslog _write __write __xstat
|
||||
''')
|
||||
|
||||
conf.CHECK_CODE('''
|
||||
#ifdef HAVE_SYS_PRCTL_H
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
int i; i = prtcl(0);
|
||||
''',
|
||||
'HAVE_PRCTL', link=False)
|
||||
|
||||
conf.CHECK_SAMBA3_CHARSET() # see build/charset.py
|
||||
|
||||
# FIXME: these should be tests for features, but the old build system just
|
||||
|
Loading…
x
Reference in New Issue
Block a user