Changes from arch/CVS synchronization
[bpt/guile.git] / autogen.sh
CommitLineData
5d94b2fe 1#!/bin/sh
df449722 2# Usage: sh -x ./autogen.sh
5d94b2fe 3
fc4fc6f6
RB
4set -e
5
0b49b6ae 6[ -f GUILE-VERSION ] || {
3be5cdf2 7 echo "autogen.sh: run this command only at the top of guile-core."
0b49b6ae
JB
8 exit 1
9}
10
5cfbbaff
NJ
11######################################################################
12### announce build tool versions
13echo ""
14autoconf --version
15echo ""
16automake --version
17echo ""
18libtool --version
19echo ""
20${M4:-/usr/bin/m4} --version
21echo ""
6caac03c
LC
22gnulib-tool --version
23echo ""
5cfbbaff 24
3be5cdf2 25######################################################################
549d7a55 26### update infrastructure
3be5cdf2 27
6caac03c 28gnulib-tool --update && \
95aacf7f 29autoreconf -i --force --verbose
f8aa362d 30
fc4fc6f6
RB
31echo "guile-readline..."
32(cd guile-readline && ./autogen.sh)
9e74987f
MV
33
34echo "Now run configure and make."
f2ae4555 35echo "You must pass the \`--enable-maintainer-mode' option to configure."