summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-02-16 02:24:11 +0100
committerOri Bernstein <ori@eigenstate.org>2017-02-15 22:34:06 -0800
commitf2e6c0069b510391b2a309868ed3b049bf95167a (patch)
treea88b1fe772504abdfeb702feb2702cc0bd0af06f /configure
parent8de1cdde541f65ff1394f12fd57452cda63099ce (diff)
downloadmc-f2e6c0069b510391b2a309868ed3b049bf95167a.tar.gz
Add NetBSD support
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 27957ac..add1c65 100755
--- a/configure
+++ b/configure
@@ -70,6 +70,13 @@ case $OS in
echo 'const Linkcmd = ["ld", "-o"]' >> mbld/config.myr
echo "const Manpath = \"man/man\"" >> mbld/config.myr
;;
+ *NetBSD*)
+ echo 'export SYS=netbsd' >> config.mk
+ echo export INST_MAN=$prefix/man/man >> config.mk
+ echo 'const Sys = "NetBSD"' >> mbld/config.myr
+ echo 'const Linkcmd = ["ld", "-o"]' >> mbld/config.myr
+ echo "const Manpath = \"man/man\"" >> mbld/config.myr
+ ;;
*OpenBSD*)
echo 'export SYS=openbsd' >> config.mk
echo export INST_MAN=$prefix/man/man >> config.mk
@@ -133,4 +140,3 @@ cat << EOF
Building with:
prefix=$prefix
EOF
-