GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
Chapter 8. Bootstrapping
The GNU Autotools contain many programs, each of which has a complex set of inputs. When one of these inputs changes, it is important to run the proper programs in the proper order. Unfortunately, it is hard to remember both the dependencies and the ordering.
Whenever you edit 'configure.in', for instance, you must remember to rerun aclocal in case you added a reference to a new macro. You must also rebuild 'configure' by running autoconf; 'config.h' by running autoheader, if you added a new AC_DEFINE; and automake to propagate any new AC_SUBSTs to the various 'Makefile.in's. If you edit a 'Makefile.am', you must rerun automake. In both these cases, you must then remember to rerun config.status --recheck if 'configure' ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access