summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:39:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:39:32 +0100
commit1007042ca0a748f75f8e61c89e0278df55c8f390 (patch)
tree8d5354f206f38c819bb67902e8acf4b7029ccbfa /Makefile
parent54d9c42f67b6cc72601ca73bd37563ba078e81b7 (diff)
check for MirBSD ksh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d3130388d..093fb73e2 100644
--- a/Makefile
+++ b/Makefile
@@ -153,6 +153,10 @@ NO_ERROR=0
echo "GNU bash needs to be installed."; \
exit 1; \
fi
+ @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | fgrep 'MIRBSD' >/dev/null 2>&1; then \
+ echo "MirBSD ksh (mksh) needs to be installed."; \
+ exit 1; \
+ fi
@if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
echo >&2 Error: you must build with umask 022, sorry.; \
exit 1; \