These are the examples for the GNU BuildTools blog posts from www.adayinthelifeof.nl
Simple helloworld with static makefile
A more advanced Makefile and source with different headerfiles and objects
The first "GNU Autotooled" source code
./configure with extra parameter (--enable-world)
Conditional adding or removing objects to the source
Using extra libraries when they are present