Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Resize the size of the buffer used to store the variables to process.
[simgrid.git] / tools / graspe-slave.in
index b881d6476f7841d26f500c4229f7c547cb10aca5..ee21e6bf78fe3e940f2fa66126252bf89234be01 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"