Copyright © 2009-2017 Diego Elio Pettenò
This text is released under the CreativeCommons license Attribution-NonCommercial-ShareAlike 3.0 Unported. Please refer to Appendix B, License for the complete text of the license.
Abstract
Autotools Mythbuster is a no-nonsense guide to Autotools, written with the idea of providing a full, integrated view of the tools in the GNU build chain: autoconf, automake, libtool, pkg-config, and so on.
Instead of providing a full detailing of the workings of the components, which most consumers are not interested on, this guide focuses on building useful, solid and distribution-friendly packages, that developers can submit to distributions without having to jump through hoops to get them accepted.
Autotools Mythbuster is available as an eBook on Amazon for those who want to read or reference it online. Profits from its sales are used to pay for hosting and domain name registration.
Table of Contents
List of Examples
AC_ARG_ENABLE
without actionsAC_ARG_WITH
to declare
automatic dependencies.AC_SEARCH_LIBS
Makefile.am
AC_PROG_MKDIR_P
AM_CONDITIONAL
with configure
Options
dlopen()
usage-export-symbols-regex
configure.ac
code.PKG_CHECK_MODULES
PKG_CHECK_VAR
configure.ac
relying on AM_C_PROTOTYPES
without
de-ANSI-fication.configure.c.ac
configure.c99.ac
thisonlyworksonc99.h