Sample code from the autotools book (more details in readme)