Ensure the warning about debian and error-on-warning is shown only if necessary

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13897 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-05-02 09:05:13 +00:00
parent d7c2dff901
commit cbd0726200

View File

@ -2023,8 +2023,10 @@ then
esac],
[ if test "${error_on_warning_as_default}" = "yes"; then
warnFLAGS="${warnFLAGS} -Werror";
gnc_error_on_warning=auto
else
gnc_error_on_warning=no
fi
gnc_error_on_warning=auto
])
# For gcc >= 3.4.x, specifically enable the new warning switch