Cross compiling with autoconf

This post is just a simple self reminder how to cross compile programs which are configurable with GNU autoconf.