Commits

Erik Southworth  committed 541a1c5

update configure

  • Participants
  • Parent commits 9868f40

Comments (0)

Files changed (1)

 
 
 # Checks for WAF. Honours $WAF if set. Stores path to 'waf' in $WAF.
-# Requires that $PYTHON is set.
 #
 checkWAF()
 {
 	if [ -z "$WAF" ] ; then
 	    if [ -f "${WORKINGDIR}/waf-light" ] ; then
 		${WORKINGDIR}/waf-light --make-waf
+		[ $? -ne 0 ] && exit $EXIT_ERROR
 	        WAF="${WORKINGDIR}/waf"
 	    fi
 	fi