From 739b9167d2003cf3c319a3fa2f11d6686e5b790d Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 20 Oct 2005 20:56:18 +0000 Subject: [PATCH] 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 --- tools/graspe-slave.in | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" -- 2.30.2