From 9a4e99b436efefa00277d592ff67798eb491e87a Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Sun, 12 May 2024 22:55:43 +0200 Subject: Improve API docs and configure system There is now a super minimalistic configure script that automatically detects the event system (epoll/kqueue) and generates a config.h and a config.mk. --- scripts/has_header | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 scripts/has_header (limited to 'scripts') diff --git a/scripts/has_header b/scripts/has_header new file mode 100755 index 0000000..5807bdb --- /dev/null +++ b/scripts/has_header @@ -0,0 +1,2 @@ +#! /usr/bin/env sh +echo "#include <$1>" | cc -E - 2>&1 >/dev/null -- cgit v1.2.3