diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-23 17:14:55 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-10-23 09:29:19 +0200 |
commit | 80f42df4ec9194ff00aeeb3c2cf6acfa1f2ab5c3 (patch) | |
tree | ed582d7f6a791a261dd55717186adc7598447721 /source3 | |
parent | debb2b2b9e9a495b0f9f31753ac5e75e4b2d5364 (diff) | |
download | samba-80f42df4ec9194ff00aeeb3c2cf6acfa1f2ab5c3.tar.gz samba-80f42df4ec9194ff00aeeb3c2cf6acfa1f2ab5c3.tar.bz2 samba-80f42df4ec9194ff00aeeb3c2cf6acfa1f2ab5c3.zip |
lib/replace: Fix detection of prctl
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 92575c8264..00e9858517 100644 --- 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 |