profiling: Only compile profile/profile.c if profiling is enabled
authorVolker Lendecke <vl@samba.org>
Tue, 30 Sep 2014 15:08:20 +0000 (15:08 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 3 Oct 2014 17:55:09 +0000 (19:55 +0200)
commitc7c300f9710f1f207b9fa0274648ba2dc11c1ffd
treedc26dcb5d0331fd2cec85d00edd605133109024d
parent17c7f454813be526876ac750ceb6fd1422577495
profiling: Only compile profile/profile.c if profiling is enabled

This conditional compile avoids some #ifdef WITH_PROFILE, which makes the code
more readable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/profile/profile.c
source3/profile/profile_dummy.c [new file with mode: 0644]
source3/wscript_build