summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-04 21:08:07 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-04 21:08:07 +0100
commit76673934d3c65b7340089214d690aa996ced9239 (patch)
treefdff2c65878cca79d9361863fcfa86731559c1ae
parent2201693a65fe75c107239efc0dccb7a853bff99c (diff)
add g++ check
-rw-r--r--scripts/scan-tools.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index af3223b0b..a7883cb24 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -201,6 +201,12 @@ if ! which xargs >/dev/null 2>&1; then
out=1
fi
+if ! which g++ >/dev/null 2>&1; then
+ echo "You need g++ (GNU C++ compiler) to continue."
+ echo
+ out=1
+fi
+
cd $topdir
rm -rf tmp