Guide to setting up autotools with C to build commandline apps