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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.