profiling: Only compile utils/status_profile.c if profiling is enabled
commit17c7f454813be526876ac750ceb6fd1422577495
authorVolker Lendecke <vl@samba.org>
Tue, 30 Sep 2014 15:08:20 +0000 (30 15:08 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 3 Oct 2014 17:55:09 +0000 (3 19:55 +0200)
tree55424c1f26bd52aa6f236f0921ffa4c0a2bc1362
parenta33b445a7d7567b27f5247cb6060edbbeecf4d52
profiling: Only compile utils/status_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/utils/status_profile.c
source3/utils/status_profile_dummy.c [new file with mode: 0644]
source3/wscript_build