Added option to 'configure' to control debug information for compilation
commit27d55b3e33ebade69dcd5a5e5cc938ccafb69274
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 16 Nov 2012 00:24:07 +0000 (16 01:24 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 16 Nov 2012 08:06:19 +0000 (16 08:06 +0000)
tree730e639150071bda9dbbe69ffd097b6029989807
parent2a025b2edddee55298076fad693683d53b7b3bd1
Added option to 'configure' to control debug information for compilation

As reported by Amadeusz Sławiński, there were a number of debug-only
information printed by the menu parser, which had no reason to be
in a user package.

This patch removes all the hard-coded DEBUG definitions pointed
by Amadeusz and adds a new (standard-like) option '--enable-debug'
to the configure script, which activates debug stuff for the devs.
The default behaviour is now to not have them.
As a side effect, the option also disable optimisation, which are
generally annoying when trying to run a debugger.
WINGs/Examples/Makefile.am
WINGs/Extras/Makefile.am
WINGs/Makefile.am
WINGs/Tests/Makefile.am
configure.ac