Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a newline at the end of the file to make gcc happy
[simgrid.git] / bootstrap
index c34bc40..edef272 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,8 +1,28 @@
-#!/bin/sh -e
+#!/bin/sh
 # Run this to generate all the initial makefiles, etc.
 
 amver=1.9
 
+
+lt=`which libtoolize`
+if [ "x$lt" = "x" ] ; then
+  echo "Libtool not found. Please install the libtool package to proceed with a CVS checkout"
+  exit 1
+fi
+
+am=`which automake-$amver`
+if [ "x$am" = "x" ] ; then
+  echo "automake version $amver not found. Please install the relevant package to proceed with a CVS checkout"
+  exit 1
+fi
+
+ac=`which autoconf`
+if [ "x$ac" = "x" ] ; then
+  echo "autoconf not found. Please install the relevant package to proceed with a CVS checkout"
+  exit 1
+fi
+
+set -e
 # AUTOCONF=
 # AUTOHEADER=
 # AUTOPOINT=