GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
23.3. Example: Quick and Dirty
As part of the libgcj project (see http://sourceware.cygnus.com/java/), I had to incorporate the zip program into our source tree. Because this particular program is used only in one part of the build, and because this program was already fairly portable, I decided to take a quick-and-dirty approach to autoconfiscation.
First I read through the 'README' and 'install.doc' files to see how 'zip' is ordinarily built. From there I learned that 'zip' came with a 'Makefile' used to build all Unix ports (and, for the initial autoconfiscation, Unix was all I was interested in), so I read that. This file indicated that zip had few configurability options.
Running ifnames on the sources, both Unix and generic, confirmed that ...
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