Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do display the output when requested to not take it into account but the child dyied...
[simgrid.git] / tools / graspe-slave.in
index b881d64..ee21e6b 100644 (file)
@@ -78,6 +78,16 @@ fi
 ###
 # Real script
 ###
+if [ "x$CC" = x ] ; then
+  echo "CC not set. Search for xlC"
+  xlC=`which xlC`
+  if [ "x$xlC" != x ] ; then
+    echo "Found (in $xlC)"
+    CONFIGURE_ARGS="$CONFIGURE_ARGS CC=xlC"
+  else
+    echo "Not found. Stick to the defaults"
+  fi
+fi
 
 # expend the path for solaris
 PATH="$PATH:/usr/xpg4/bin"