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' ...

Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.