GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
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 ...
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