summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-14 00:17:29 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 00:47:57 +0200
commit1b4d27d45a55c66ed20de64c2fe299583a710ddd (patch)
treea91f2a3f617dfd2d1e9e6f9998597ae75da1a1a5 /source3
parentbae2ce805478099c1f436e42cd2f47b3ca0caefd (diff)
downloadsamba-1b4d27d45a55c66ed20de64c2fe299583a710ddd.tar.gz
samba-1b4d27d45a55c66ed20de64c2fe299583a710ddd.tar.bz2
samba-1b4d27d45a55c66ed20de64c2fe299583a710ddd.zip
s3-waf: add --with-profiling-data configure option.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript5
-rwxr-xr-xsource3/wscript_build2
2 files changed, 6 insertions, 1 deletions
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
diff --git a/source3/wscript_build b/source3/wscript_build
index 1462375daa..24939c4004 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1021,7 +1021,7 @@ bld.SAMBA3_BINARY('nmbd/nmbd',
source=NMBD_SRC,
deps='''talloc tdb tevent z cap resolv wbclient dl
passdb param ldap LIB_NONSMBD LIBSMB
- POPT_SAMBA3 KRBCLIENT NDR_SAMR NDR_LSA''',
+ POPT_SAMBA3 KRBCLIENT NDR_SAMR NDR_LSA PROFILE''',
install_path='${SBINDIR}',
vars=locals())