This is a configuration system for writing portable C systems with OpenBSD-compatible features and functions.
To use:
- copy configure, compats.c, and tests.c into your source tree, or grab files from a cloned repository or downloaded release
- run
./configureto create Makefile.configure and config.h include Makefile.configureat the top of your Makefile (BSD or GNU make) and add compats.c to be linked into your binary or library- reference compatibility functions by adding
#include "config.h"as the first inclusion in your sources
See the main website for details.