Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correct macro declaration for VA_COPY so that it does not fool cpp and works on windo...
[simgrid.git] / buildtools / scripts / make_dist.sh
index beb084f..50c4cf2 100755 (executable)
@@ -10,8 +10,10 @@ else
   source ~/.simgrid_build.conf
 fi
 
-echo "get Linux dependencies"
-sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig
+if [ ! -e /usr/bin/libtool ] || [ ! -e /usr/bin/automake ] || [ ! -e /usr/bin/flex ] ; then
+  echo "get Linux dependencies"
+  sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig || true
+fi
 
 make_dist