X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/887e89f1a785d7dd3fc4dd3f923a41167fa712f5..8a30afca8389522b64c028a4b4c247463d826b92:/tools/graspe-slave.in diff --git a/tools/graspe-slave.in b/tools/graspe-slave.in index ef2a8f94f1..ee21e6bf78 100644 --- a/tools/graspe-slave.in +++ b/tools/graspe-slave.in @@ -26,7 +26,7 @@ CONFIGURE_ENV="" CONFIGURE_ARGS="--prefix=$PREFIX/@PACKAGE@" # make target -MAKE_ALL="clean all" +MAKE_ALL="all" MAKE_INSTALL=install MAKE_CHECK="-k check" @@ -78,6 +78,17 @@ 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" export PATH