Autoconf has always been a bit of a mystery to me. While working through the MailCore 2/libetpan stuff, I once again got reacquainted with Autotools and had to dive a bit deeper. John Calcote’s Autotools is an awesome reference that I found on O'Reilly Safari today.
This is mostly a set of rapid fire notes that I will probably refer back to in the future for my own reference.
Automake - takes
Makefile.amfiles and turns them into
Autoconf - takes
acsite.m4and uses them to generate the
configurescript. Configure script takes
.infiles and outputs them with the
Makefile.in -> Makefile)
So that’s the general flow of things here. Automake goes from
.in, Autoconf takes
.m4 to generate the
./configure takes the
files and generates the output with the
.in removed (
config.h.in -> config.h).