Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More verbose error message
[simgrid.git] / bootstrap
1 #!/bin/sh -e
2 # Run this to generate all the initial makefiles, etc.
3
4 amver=1.8
5
6 # AUTOCONF=
7 # AUTOHEADER=
8 # AUTOPOINT=
9 # LIBTOOLIZE=
10
11 ACLOCAL="aclocal-$amver -I acmacro -I /usr/share/aclocal/gnome2-macros" \
12 AUTOMAKE="automake-$amver" \
13   autoreconf -v || 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-gtk-doc"
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 "* Running ./configure $configure_args..."
39 echo "************"
40 ./configure $configure_args || exit 1
41
42 echo Now type \`make\' to compile the package
43
44