Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also export the diagram of the upcomming module split on servers
[simgrid.git] / bootstrap
1 #!/bin/sh -e
2 # Run this to generate all the initial makefiles, etc.
3
4 amver=1.9
5
6
7 lt=`which libtoolize`
8 if [ "x$lt" = "x" ] ; then
9   echo "Libtool not found. Please install the libtool package to proceed with a CVS checkout"
10   exit 1
11 fi
12
13 am=`which automake-$amver`
14 if [ "x$am" = "x" ] ; then
15   echo "automake version $amver not found. Please install the relevant package to proceed with a CVS checkout"
16   exit 1
17 fi
18
19 ac=`which autoconf`
20 if [ "x$ac" = "x" ] ; then
21   echo "autoconf not found. Please install the relevant package to proceed with a CVS checkout"
22   exit 1
23 fi
24
25
26 # AUTOCONF=
27 # AUTOHEADER=
28 # AUTOPOINT=
29 # LIBTOOLIZE=
30
31 ACLOCAL="aclocal-$amver -I acmacro" \
32 AUTOMAKE="automake-$amver" \
33   autoreconf -v -i -s || exit 1
34
35 echo
36 echo "And now, please launch ./configure"
37 echo "----------------------------------"
38
39 # What to do the day we declare optional modules using ACI:
40 #  if test -e aci.conf ; then
41 #   source aci.conf
42 #   pass the content of $configure_args to configure
43
44 echo 
45 echo "Most common flags:"
46 echo "  --enable-maintainer-mode         mandatory if you use the CVS version"
47 echo "  --disable-compile-optimizations  useful if your gdb gets fooled"
48 echo
49
50 echo 
51 echo "If you want to compile for several archs from the same (nfs-mounted?) tree, do:"
52 echo "  mkdir your_arch; cd your_arch && ../configure --srcdir=.."
53
54 echo 
55 echo "(after configure, you'll naturally have to run \`make')"
56 echo 
57 echo