Browse Source

add g++ check

Waldemar Brodkorb 10 years ago
parent
commit
76673934d3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      scripts/scan-tools.sh

+ 6 - 0
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