This changes --enable-debug to choose better options:
- We use
-Ograther than-O0if it is available - Prefer
-g3over-gif it is available - Add debug preprocessor flags to
$DEBUG_CPPFLAGSrather than updating$CPPFLAGSdirectly
This also updates the flags summaries at the end of the configure script to more accurately reflect what flags will be used for most of the code in src.