Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now SIMGRID_INSTALL_PATH can be different of INSTALL_PATH
[simgrid.git] / bootstrap
1 #!/bin/sh -e
2 # Run this to generate all the initial makefiles, etc.
3
4 amver=1.9
5
6 # AUTOCONF=
7 # AUTOHEADER=
8 # AUTOPOINT=
9 # LIBTOOLIZE=
10
11 ACLOCAL="aclocal-$amver -I acmacro" \
12 AUTOMAKE="automake-$amver" \
13   autoreconf -v -i -s || exit 1
14
15 if test -z "$*"; then
16   if test -e aci.conf ; then
17     source aci.conf
18     echo "**Warning**: I am going to run \`configure' with arguments resulting from aci_configurator execution."
19     echo "ie, $configure_args."
20     echo "If you wish to pass other ones, please specify them on the"
21     echo \`$0\'" command line, or rerun aci_configurator and save the new ones."
22     echo
23   else
24     configure_args="--enable-maintainer-mode --enable-compile-warnings"
25     echo "**Warning**: I am going to run \`configure' with the default arguments."
26     echo "ie, $configure_args."
27     echo "If you wish to pass any to it, please specify them on the"
28     echo \`$0\'" command line."
29     echo
30   fi
31 else
32   configure_args="$@"
33   echo "I am going to run \`configure' with the provided arguments."
34   echo "ie, $configure_args."
35 fi
36
37 echo "************"
38 echo "* And now:"
39 echo "************"
40
41 echo " To configure it as a maintainer, run:"
42 echo "   ./configure $configure_args"
43
44 #echo "************"
45 #echo ./configure $configure_args 
46
47 #echo Now type \`make\' to compile the package
48
49