Turn on warnings in autotools

The autotools packages are able to show warnings about syntax, cross compilation, and the use of obsolete macros.

Turning on these warnings uncovers some issues.