X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28c2a33427c5ee40763791fcd2c21efa01d86a23..fc0b5cbe2f4272deac718cb99e2c765745c26408:/tools/graspe-slave.in diff --git a/tools/graspe-slave.in b/tools/graspe-slave.in index b881d6476f..ee21e6bf78 100644 --- a/tools/graspe-slave.in +++ b/tools/graspe-slave.in @@ -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"