configure: Enable --with-paranoia and PARANOIA_CFLAGS
commitc6c4b52ad01df93f5f8e64b81bbc0fee803a5ca9
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 20 Oct 2010 04:53:58 +0000 (20 04:53 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 20 Oct 2010 04:53:58 +0000 (20 04:53 +0000)
tree65c8615b21d71885bbbeab6090c032227b71d1a9
parent19558c28afc5a917c39f1a420d73010b1e7d0787
configure: Enable --with-paranoia and PARANOIA_CFLAGS

This patch enables the '--with-paranoia'./configure option.

Semantics:

./configure                         => No paranoia
./configure --with-paranoia         => PARANOIA_CFLAGS=-Wall -W -Werror
./configure --with-paranoia=-Wmega  => PARANOIA_CFLAGS=-Wmega

This allows (a) no changes to the build process, (b) devs to
enable paranoia *for themselves* and (c) devs to enable
paranoia *only* on targets they think are clean.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@34840 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
config/target.cfg.in
configure.in