Ver código fonte

add g++ check

Waldemar Brodkorb 12 anos atrás
pai
commit
76673934d3
1 arquivos alterados com 6 adições e 0 exclusões
  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