15.4. How GNU Autotools Can Help

Each of the GNU Autotools contribute to C++ portability. Now that you are familiar with the issues, the following subsections will outline precisely how each tool contributes to achieving C++ portability.

15.4.1. Testing C++ Implementations with Autoconf

Of the GNU Autotools, perhaps the most valuable contribution to the portability of your C++ programs will come from Autoconf. You can detect all the portability issues raised in Section 15.2, "Changeable C++," by using Autoconf macros.

Luc Maisonobe has written a large suite of macros for this purpose; you can find them in the Autoconf macro archive (see Section 22.5.1, "Autoconf Macro Archive" ). If any of these macros become important enough, they may become ...

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.