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

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.