浏览代码

add g++ check

Waldemar Brodkorb 11 年之前
父节点
当前提交
76673934d3
共有 1 个文件被更改,包括 6 次插入0 次删除
  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