A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix.
[simgrid.git]
/
tools
/
graspe-slave.in
diff --git
a/tools/graspe-slave.in
b/tools/graspe-slave.in
index
b881d64
..
ee21e6b
100644
(file)
--- a/
tools/graspe-slave.in
+++ b/
tools/graspe-slave.in
@@
-78,6
+78,16
@@
fi
###
# Real script
###
###
# 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"
# expend the path for solaris
PATH="$PATH:/usr/xpg4/bin"