Work in progress.
This project aims to provide a Zig package for GNU M4 that runs on Linux, macOS and Windows without system dependencies. The longer-term goal is to extract a reusable Zig library for compiling projects that rely on Autotools and Gnulib.
Compiles and appears to run correctly on my Linux system when built in
ReleaseFast
or ReleaseSmall
mode. However, with safety checks enabled, the
executable hits an illegal instruction immediately on startup, presumably due to
undefined behavior.
- Fix the illegal instruction issue.
- Port the test suite and integrate it as a build step.
- Implement those configuration checks that do not depend on preprocessing, compilation or execution of probing code. Exclude any unused or redundant checks.
- Implement a
LazyValue
system to allow other build steps to pass configuration values toConfigHeader
. - Implement remaining configuration checks, again excluding unused or redundant ones.
- Extract a reusable configuration library for projects using Autotools or Gnulib.
- Uses Zig 0.14.0-dev.3046+08d661fcf.
- Native language support is disabled.