configure: Less intrusive CFLAGS change when --enable-debug is chosen
commit4cf72c990d0d4be8e6ea197dbbcbbe0128198fe5
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 Nov 2013 22:08:19 +0000 (8 23:08 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:03 +0000 (30 18:11 +0000)
tree6c1edf15cd4f868384e3cebdd3fa866e759a1492
parent59f5aeeec5f8f962cb4447fb2a6d401b5f6ef2d3
configure: Less intrusive CFLAGS change when --enable-debug is chosen

The previous code made a dumb change to CFLAGS which would cause user
supplied CFLAGS to be ignored, and possible compiler compatibility issues.

The new code does the same changes in a smoother way, so we do not totally
drop user specified or script detected compiler options.

When debug is enabled, we also include a reminder for the final CFLAGS
value.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
configure.ac