From 1b4d27d45a55c66ed20de64c2fe299583a710ddd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 14 Apr 2011 00:17:29 +0200 Subject: s3-waf: add --with-profiling-data configure option. Guenther --- source3/wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index ebcb1b6888..cf96b39107 100644 --- a/source3/wscript +++ b/source3/wscript @@ -59,6 +59,7 @@ def set_options(opt): opt.SAMBA3_ADD_OPTION('syslog') opt.SAMBA3_ADD_OPTION('automount') opt.SAMBA3_ADD_OPTION('aio-support') + opt.SAMBA3_ADD_OPTION('profiling-data') opt.SAMBA3_ADD_OPTION('cluster-support') @@ -1703,6 +1704,10 @@ main() { headers='sys/types.h dirent.h', msg='Checking whether seekdir returns void') + if Options.options.with_profiling_data: + conf.DEFINE('WITH_PROFILE', 1); + + default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin vfs_default -- cgit