23.4. Example: The Full Pull

Suppose instead that I wanted to fully autoconfiscate zip. Let's ignore for now that zip can build on systems to which the GNU Autotools have not been ported (TOPS-20, for example)—perhaps a big problem back in the real world.

The first step should always be to run autoscan. autoscan is a program that examines your source code and then generates a file called 'configure.scan', which can be used as a rough draft of a 'configure.in'. autoscan is not perfect, and in fact in some situations can generate a 'configure.scan' that autoconf won't directly accept, so you should examine this file by hand before renaming it to 'configure.in'.

autoscan doesn't take into account macro names used by your program. If autoscan decides ...

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.