Add configure option '--enable-debug' to control debugging and profiling
authorThomas Zimmermann <tdz@users.sourceforge.net>
Fri, 12 Aug 2016 20:53:46 +0000 (22:53 +0200)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 10 Oct 2016 14:09:25 +0000 (15:09 +0100)
commit85b520ab8fa571ac13abdc72d9ca1b1014903e8d
tree92b77472af02e6e4fc0695ad1a227b9165ef9c55
parent866ff0e926445f3e1debea612a2019da875a75fd
Add configure option '--enable-debug' to control debugging and profiling

The command-line option '--enable-debug' controls the debugging and
profiling flags of the build. Debugging is disabled by default and only
enabled on developer builds. Profiling is always disabled. Both options
can be overridden from the command line (e.g., for profiling of release
builds).

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
[smcv: remove trailing whitespace from new lines]
Reviewed-by: Simon McVittie <smcv@debian.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97357
configure.ac