Merge commit '7337d56d5714227865aeca2b40b6bd97cce296d2' into boehm-demers-weiser-gc
[bpt/guile.git] / autogen.sh
1 #!/bin/sh
2 # Usage: sh -x ./autogen.sh
3
4 set -e
5
6 [ -f GUILE-VERSION ] || {
7 echo "autogen.sh: run this command only at the top of guile-core."
8 exit 1
9 }
10
11 ######################################################################
12 ### announce build tool versions
13 echo ""
14 autoconf --version
15 echo ""
16 automake --version
17 echo ""
18 libtool --version
19 echo ""
20 ${M4:-/usr/bin/m4} --version
21 echo ""
22
23 ######################################################################
24 ### update infrastructure
25
26 autoreconf -i --force --verbose
27
28 echo "guile-readline..."
29 (cd guile-readline && ./autogen.sh)
30
31 echo "Now run configure and make."
32 echo "You must pass the \`--enable-maintainer-mode' option to configure."