Changes in doc/ref:
[bpt/guile.git] / autogen.sh
CommitLineData
5d94b2fe
JB
1#!/bin/sh
2
fc4fc6f6
RB
3set -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.
16rm -rf libltdl
17libtoolize --force --copy --automake --ltdl
18
19# Make sure we use a ./configure.in compatible autoconf in ./libltdl/
20mv libltdl/configure.in libltdl/configure.tmp
21echo 'AC_PREREQ(2.50)' > libltdl/configure.in
22cat libltdl/configure.tmp >> libltdl/configure.in
23rm libltdl/configure.tmp
24######################################################################
25
ee31ced2 26autoheader
0b49b6ae 27autoconf
3925e507 28automake --add-missing
0b49b6ae 29
cebb2d1f
MV
30# Make sure that libltdl uses the same autoconf version as the rest.
31#
fc4fc6f6
RB
32echo "libltdl..."
33(cd libltdl && autoconf)
34(cd libltdl && automake --gnu --add-missing)
cebb2d1f 35
fc4fc6f6
RB
36echo "guile-readline..."
37(cd guile-readline && ./autogen.sh)
9e74987f
MV
38
39echo "Now run configure and make."
f2ae4555 40echo "You must pass the \`--enable-maintainer-mode' option to configure."