Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do generate the header we need with flexml
[simgrid.git] / tools / compile-remote-worker.in
index 8e47ce4..ef2a8f9 100644 (file)
@@ -8,6 +8,13 @@
 
 # Where to install the stuff into (REMOTE_PREFIX gets fixed by the makefile)
 PREFIX=$REMOTE_PREFIX
+if echo $PREFIX | egrep '^/' > /dev/null ; then
+  echo "Prefix is an absolute path. Good, it makes configure happy"
+else
+  echo "Change prefix to an absolute path to keep configure happy"
+  PREFIX="$HOME/$PREFIX"
+fi
+echo "(PREFIX=$PREFIX)"
 
 # Where extra libraries are installed (if any)
 LD_LIBRARY_PATH="$PREFIX/lib"
@@ -131,6 +138,12 @@ if echo $@ | grep check >/dev/null ; then
   do_cmd "make $MAKE_CHECK 2>&1" || fail "Cannot make check"
 fi
 
+echo Remote compilation sucessful.
+echo
+echo
+echo CONFIG-LOG-DUMP-BEGIN
+cat config.log
+echo CONFIG-LOG-DUMP-END
 echo
 echo
 echo Remote compilation sucessful.