From 6f7a63b3b60a8094324c89d14606af26e2d417df Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Wed, 9 Nov 2022 10:08:05 +0100 Subject: Port to GNU/Linux Tested on Void Linux x86_64 glibc. --- configure | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 configure (limited to 'configure') diff --git a/configure b/configure new file mode 100755 index 0000000..9a1e936 --- /dev/null +++ b/configure @@ -0,0 +1,18 @@ +#! /bin/sh + +set -o errexit +set -o nounset + +exec 3>config.mk + +case "$( uname )" in + OpenBSD) + echo 'BINGRP = bin' 1>&3 + echo 'MANGRP = bin' 1>&3 + ;; + Linux) + echo 'BINMODE = 755' 1>&3 + echo 'MANMODE = 644' 1>&3 + echo 'MANDIR = share/man/man' 1>&3 + ;; +esac -- cgit v1.2.3