Autoconf emulation build system module for build2
GNU Autoconf emulation build system module for build2.
Specifically, this module provides an in-based rule for
processing config.h.in files. Besides the Autoconf special line flavor
(#undef), it also supports the CMake (#cmakedefine, #cmakedefine01) and
Meson (#mesondefine) variants. Note that the CMake ${VAR} style
substitutions are not supported, only the @VAR@ style (see
Modifying upstream source code during build
for one way to deal with ${VAR}).
Similar to Autoconf, this module provides builtin support for a number of
common HAVE_* configuration checks with projects being able to add custom
ones. However, the values of these checks are not discovered by dynamic
probing, such as trying to compile a test program to determine if the feature
is present. Instead, they are set to static expected values based on the
platform/compiler macro checks (see note at the beginning of Project
Configuration for rationale).
| license | MIT |
|---|---|
| project | build2 |
| url | github.com/build2/libbuild2-autoconf |
| users@build2.org |
| version | 0.4.0-a.0.20251027151500.b4ba764eb3d2 |
|---|---|
| repository | https://stage.build2.org/1 |
| depends | 0 |