README.md

November 29, 2025 ยท View on GitHub

Synopsis

This is a configuration system for writing portable C systems with OpenBSD-compatible features and functions.

To use:

  1. copy configure, compats.c, and tests.c into your source tree, or grab files from a cloned repository or downloaded release
  2. run ./configure to create Makefile.configure and config.h
  3. include Makefile.configure at the top of your Makefile (BSD or GNU make) and add compats.c to be linked into your binary or library
  4. reference compatibility functions by adding #include "config.h" as the first inclusion in your sources

See the main website for details.