From: mquinson Date: Thu, 20 Oct 2005 20:56:18 +0000 (+0000) Subject: I really dislike gcc on AIX X-Git-Tag: v3.3~3582 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/739b9167d2003cf3c319a3fa2f11d6686e5b790d I really dislike gcc on AIX git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1775 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- 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"