5MORE FUN WITH AUTOCONF: CONFIGURING USER OPTIONS

Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.—Václav Havel, Disturbing the Peace

Image

In Chapter 4, we discussed the essentials of Autoconf—how to bootstrap a new or existing project and how to understand some of the basic aspects of configure.ac files. In this chapter, we cover some of the more complex Autoconf macros. We’ll begin by discussing how to substitute our own variables into template files (for example, Makefile.in) and how to define our own preprocessor definitions from within the configuration ...

Get Autotools, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.