Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modifying the API so as to prevent a use of the context that would make valgrind...
[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 # Add the following to ACLOCAL to use the installed m4 macro about gtk-doc-tools instead of ours
12 # -I /usr/share/aclocal/gnome2-macros
13
14 ACLOCAL="aclocal-$amver -I acmacro" \
15 AUTOMAKE="automake-$amver" \
16   autoreconf -v -i -s || exit 1
17
18 if test -z "$*"; then
19   if test -e aci.conf ; then
20     source aci.conf
21     echo "**Warning**: I am going to run \`configure' with arguments resulting from aci_configurator execution."
22     echo "ie, $configure_args."
23     echo "If you wish to pass other ones, please specify them on the"
24     echo \`$0\'" command line, or rerun aci_configurator and save the new ones."
25     echo
26   else
27     configure_args="--enable-maintainer-mode --enable-gtk-doc --enable-compile-warnings"
28     echo "**Warning**: I am going to run \`configure' with the default arguments."
29     echo "ie, $configure_args."
30     echo "If you wish to pass any to it, please specify them on the"
31     echo \`$0\'" command line."
32     echo
33   fi
34 else
35   configure_args="$@"
36   echo "I am going to run \`configure' with the provided arguments."
37   echo "ie, $configure_args."
38 fi
39
40 echo "************"
41 echo "* And now:"
42 echo "************"
43
44 echo " To configure it as a maintainer, run:"
45 echo "   ./configure $configure_args"
46
47 #echo "************"
48 #echo ./configure $configure_args 
49
50 #echo Now type \`make\' to compile the package
51
52