summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmltk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mltk b/mltk
index 3f8442a0..590c1254 100755
--- a/mltk
+++ b/mltk
@@ -20,7 +20,12 @@ SELF="$(readlink -f $0)"
ROOT_DIR="$(dirname "${SELF}")"
MLTK_PID="$$"
+# Checking for needed development tools, compilers etc.
# Required: m4 make gcc g++ binutils
+DEVTOOLS="gcc c++ g++ make m4 strip" # 'strip' as marker for binutils
+for i in $DEVTOOLS; do
+ which "$i" 2>/dev/null 1>&2 || { echo "Essential development tool $i not found - exiting."; exit 1; }
+done
# Make apt-get install non-interactive when it comes to postinstall questions
# ie. kdm asking which dm you want to set as default