git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
debb2b2
)
lib/replace: Fix detection of prctl
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 23 Oct 2012 06:14:55 +0000
(17:14 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 23 Oct 2012 07:29:19 +0000
(09:29 +0200)
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index 92575c82647c058fb6d285a6ae39998200a5b2d4..00e9858517f9c18d318f7ccf7eaebfba7827bfd3 100644
(file)
--- a/
source3/wscript
+++ b/
source3/wscript
@@
-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