summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-11-09 10:08:05 +0100
committerStefan Kreutz <mail@skreutz.com>2022-11-09 10:08:05 +0100
commit6f7a63b3b60a8094324c89d14606af26e2d417df (patch)
treef482764bf25e01b79806833508722dbfc08f2ed7 /configure
parentac13cb90143bee033a396acc3524c761a58bec10 (diff)
downloadtemp-postgres-6f7a63b3b60a8094324c89d14606af26e2d417df.tar
Port to GNU/Linuxtemp-postgres-0.2.0
Tested on Void Linux x86_64 glibc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
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
Generated by cgit. See skreutz.com for my tech blog and contact information.