Explorar o código

add g++ check

Waldemar Brodkorb %!s(int64=12) %!d(string=hai) anos
pai
achega
76673934d3
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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