Autoconf-style configuration checks for Bazel. This module lets you generate
config.h files by running compilation checks against Bazel’s configured
cc_toolchain, using Starlark macros instead of shell-driven configure
scripts.
Add the following to your MODULE.bazel file:
bazel_dep(name = "rules_cc_autoconf", version = "{version}")
For full documentation and examples, see: https://periareon.github.io/rules_cc_autoconf/
GNU Autoconf is excellent at probing
platform capabilities and generating Make-based build trees. However, dropping
./configure into a Bazel build has a few downsides:
config.status, config.log, generated headers, etc.), which
conflicts with Bazel’s sandboxing and caching model.configure step can do dozens of
unrelated checks at once, making cache behaviour and debugging harder.Projects in the
Bazel Central Registry
often reimplement the build logic in Bazel, but they still miss Autoconf’s
convenient config.h generation. rules_cc_autoconf focuses on that gap: it
provides autoconf-like checks in a hermetic, deterministic way, driven entirely
by Bazel’s C/C++ toolchain configuration.
0.10.1 +6d5% 42026-05-03 | |
0.7.13 +23h2026-03-30 | |
0.7.10 +3d2026-03-27 | |
0.7.9 +4d2026-03-23 | |
0.7.6 +9h2026-03-18 | |
0.7.5 +9h2026-03-18 | |
0.7.4 +4h2026-03-17 | |
0.7.3 +3h2026-03-17 | |
0.7.2 +7h2026-03-17 | |
0.7.1 +2h2026-03-17 | |
0.7.0 +4h2026-03-17 | |
0.6.7 +9h2026-03-17 | |
0.6.6 +1h2026-03-16 | |
0.6.5 +19h2026-03-16 | |
0.6.4 +4h2026-03-15 | |
0.6.3 +16h2026-03-15 | |
0.6.2 +4h2026-03-14 | |
0.6.1 +1h2026-03-14 | |
0.6.0 +18h2026-03-14 | |
0.5.9 +4h2026-03-13 | |
0.5.8 +15h2026-03-13 | |
0.5.7 +3d2026-03-13 | |
0.5.2 +14h2026-02-19 | |
0.5.1 +5h2026-02-19 | |
0.5.0 +1h2026-02-18 | |
0.4.1 +4h2026-02-18 | |
0.4.0 +18h2026-02-18 | |
0.3.0 +5h2026-02-17 | |
0.2.0 +1.4mo2026-02-17 | |
0.1.02026-01-05 |