The branch, v3-6-test has been updated via 5fad400 s3-waf: add configure/declaration checks for fdatasync, readahead and splice. via d1fa3f4 s3-waf: add valgrind configure checks. from 504538b s3:registry: improve debug messages about regdb refcount changes
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test - Log ----------------------------------------------------------------- commit 5fad400d15915f490f5344f452a53ec8ed4303f7 Author: Günther Deschner <g...@samba.org> Date: Tue Dec 7 15:33:51 2010 +0100 s3-waf: add configure/declaration checks for fdatasync, readahead and splice. Guenther Autobuild-User: Günther Deschner <g...@samba.org> Autobuild-Date: Tue Dec 7 16:50:23 CET 2010 on sn-devel-104 (cherry picked from commit 94cfb49bb7051c7e979bcf168e467328b96ee631) commit d1fa3f4d782b1c20b8ae5b41425bcfba387341b6 Author: Günther Deschner <g...@samba.org> Date: Tue Dec 7 14:59:53 2010 +0100 s3-waf: add valgrind configure checks. Guenther (cherry picked from commit c5b2fd05afcf3e4e3e733ed917539add9c12e0b8) ----------------------------------------------------------------------- Summary of changes: source3/wscript | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/wscript b/source3/wscript index 7fe142d..da9a9db 100644 --- a/source3/wscript +++ b/source3/wscript @@ -121,6 +121,18 @@ def configure(conf): #FIXME: for some reason this one still fails conf.CHECK_FUNCS_IN('yp_get_default_domain', 'nsl') conf.CHECK_FUNCS_IN('dn_expand _dn_expand __dn_expand', 'resolv') + conf.CHECK_DECLS('fdatasync', reverse=True) + conf.CHECK_DECLS('readahead', reverse=True, headers='fcntl.h') + + if conf.CHECK_CODE(''' +#if defined(HAVE_UNISTD_H) +#include <unistd.h> +#endif +long ret = splice(0,0,1,0,400,0); +''', + 'HAVE_LINUX_SPLICE', + headers='fcntl.h'): + conf.CHECK_DECLS('splice', reverse=True, headers='fcntl.h') # Check for inotify support conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h') @@ -874,6 +886,10 @@ int i; i = PAM_RADIO_TYPE; conf.DEFINE('WITH_DNS_UPDATES', 1) else: conf.SET_TARGET_TYPE('uuid', 'EMPTY') + conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h valgrind/memcheck.h') + if Options.options.developer: + if conf.CONFIG_SET('HAVE_VALGRIND_H') or conf.CONFIG_SET('HAVE_VALGRIND_VALGRIND_H'): + conf.DEFINE('VALGRIND', '1') conf.SAMBA_CONFIG_H('include/config.h') -- Samba Shared Repository