Move warning flags from autogen.sh to configure.ac