Commit | Line | Data |
---|---|---|
5d94b2fe JB |
1 | #!/bin/sh |
2 | ||
fc4fc6f6 RB |
3 | set -e |
4 | ||
0b49b6ae JB |
5 | [ -f GUILE-VERSION ] || { |
6 | echo "autogen.sh: run this command only at the top of a Guile source tree." | |
7 | exit 1 | |
8 | } | |
9 | ||
65545721 ML |
10 | ./guile-aclocal.sh |
11 | ||
fc4fc6f6 RB |
12 | ###################################################################### |
13 | ### Libtool setup. | |
14 | ||
15 | # Get a clean version. | |
16 | rm -rf libltdl | |
17 | libtoolize --force --copy --automake --ltdl | |
18 | ||
19 | # Make sure we use a ./configure.in compatible autoconf in ./libltdl/ | |
20 | mv libltdl/configure.in libltdl/configure.tmp | |
21 | echo 'AC_PREREQ(2.50)' > libltdl/configure.in | |
22 | cat libltdl/configure.tmp >> libltdl/configure.in | |
23 | rm libltdl/configure.tmp | |
24 | ###################################################################### | |
25 | ||
ee31ced2 | 26 | autoheader |
0b49b6ae | 27 | autoconf |
3925e507 | 28 | automake --add-missing |
0b49b6ae | 29 | |
cebb2d1f MV |
30 | # Make sure that libltdl uses the same autoconf version as the rest. |
31 | # | |
fc4fc6f6 RB |
32 | echo "libltdl..." |
33 | (cd libltdl && autoconf) | |
34 | (cd libltdl && automake --gnu --add-missing) | |
cebb2d1f | 35 | |
fc4fc6f6 RB |
36 | echo "guile-readline..." |
37 | (cd guile-readline && ./autogen.sh) | |
9e74987f MV |
38 | |
39 | echo "Now run configure and make." | |
f2ae4555 | 40 | echo "You must pass the \`--enable-maintainer-mode' option to configure." |