summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index ad1790f..417787d 100755
--- a/configure
+++ b/configure
@@ -71,6 +71,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
@@ -134,4 +141,3 @@ cat << EOF
Building with:
prefix=$prefix
EOF
-