Descriptionconfigure: Fix tests for compiler warning flags.
`AC_LANG_PROGRAM` ignores compiler warnings. This behaviour made the tests
always true and thus without any effect. We now add `-Werror` to enforce an
error in case the warning flag is not known.
To make that work it is also necessary to compile `confdefs.h` without
warnings; we add a hack to undefine macro `PACKAGE_NAME`, which gets defined
twice for historical reasons.
Patch Set 1 #Patch Set 2 : Only change `confdefs.h`; the rest is already handled by issue #5608. #
MessagesTotal messages: 3
|