浏览代码

- add paranoia warning about $INCLUDES

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
13c1b92973
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      toolchain/dependencies/dependencies.sh

+ 6 - 0
toolchain/dependencies/dependencies.sh

@@ -46,6 +46,12 @@ if test -n "$CFLAGS" ; then
 fi;
 echo "CFLAGS clean:					Ok"
 
+if test -n "$INCLUDES" ; then
+	echo "INCLUDES clean:					FALSE"
+	/bin/echo -e "WARNING: INCLUDES contains:\n\t'$INCLUDES'"
+else
+	echo "INCLUDES clean:				Ok"
+fi
 
 if test -n "$CXXFLAGS" ; then
 	echo "CXXFLAGS clean:					FALSE"