From 693463f0462e3fb6ae947210afb0c515fd599c35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Thu, 10 Jul 2014 14:18:02 +0200 Subject: [PATCH] Added an additional output line, if compiler variables are not set --- candi.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/candi.sh b/candi.sh index dbf700c..ae01ebb 100755 --- a/candi.sh +++ b/candi.sh @@ -506,6 +506,11 @@ if [ $# -eq 0 ]; then else cecho ${BAD} "FF variable not set. Please set it with $ export FF = " fi + + if [ -z "$CC" ] || [ -z "$CXX" ] || [ -z "$FC" ] || [ -z "$FF" ]; then + cecho ${BAD} "One or multiple compiler variables (CC,CXX,FC,FF) are not set." + cecho ${WARN} "It is strongly recommended to set them to guarantee the same compilers for all dependencies." + fi echo "-------------------------------------------------------------------------------" echo "" -- 2.39.5