From: Uwe Köcher Date: Thu, 10 Jul 2014 12:18:02 +0000 (+0200) Subject: Added an additional output line, if compiler variables are not set X-Git-Tag: 0.3~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=693463f0462e3fb6ae947210afb0c515fd599c35;p=candi.git Added an additional output line, if compiler variables are not set --- 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 ""