1 |
#!/bin/sh |
#!/bin/sh |
2 |
|
|
3 |
|
set -e |
4 |
|
|
5 |
[ -f GUILE-VERSION ] || { |
[ -f GUILE-VERSION ] || { |
6 |
echo "autogen.sh: run this command only at the top of a Guile source tree." |
echo "autogen.sh: run this command only at the top of a Guile source tree." |
7 |
exit 1 |
exit 1 |
9 |
|
|
10 |
./guile-aclocal.sh |
./guile-aclocal.sh |
11 |
|
|
12 |
|
###################################################################### |
13 |
|
### Libtool setup. |
14 |
|
|
15 |
|
# Get a clean version. |
16 |
|
rm -rf libltdl |
17 |
libtoolize --force --copy --automake --ltdl |
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 |
|
|
26 |
autoheader |
autoheader |
27 |
autoconf |
autoconf |
28 |
automake --add-missing |
automake --add-missing |
29 |
|
|
30 |
# Make sure that libltdl uses the same autoconf version as the rest. |
# Make sure that libltdl uses the same autoconf version as the rest. |
31 |
# |
# |
32 |
( echo "libltdl..."; cd libltdl; autoconf ) |
echo "libltdl..." |
33 |
|
(cd libltdl && autoconf) |
34 |
|
(cd libltdl && automake --gnu --add-missing) |
35 |
|
|
36 |
( echo "guile-readline..."; cd guile-readline; ./autogen.sh ) |
echo "guile-readline..." |
37 |
|
(cd guile-readline && ./autogen.sh) |
38 |
|
|
39 |
echo "Now run configure and make." |
echo "Now run configure and make." |
40 |
echo "You must pass the \`--enable-maintainer-mode' option to configure." |
echo "You must pass the \`--enable-maintainer-mode' option to configure." |