Chapter 7. A Small GNU Autotools Project

This chapter introduces a small—but real—worked example, to illustrate some of the features and highlight some of the pitfalls of the GNU Autotools discussed so far. You can download all the source from this book's Web page at http://www.newriders.com/autoconf. The text is peppered with my own pet ideas, accumulated over several years of working with the GNU Autotools, and you should be able to easily apply these to your own projects. I begin by describing some of the choices and problems I encountered during the early stages of the development of this project. Then by way of illustration of the issues covered, move on to showing you a general infrastructure that I use as the basis for all my own projects, ...

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.