Merge commit '29776e85da637ec4d44b2b2822d6934a50c0084b' 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 gnulib-tool --version
23 echo ""
24
25 ######################################################################
26 ### update infrastructure
27
28 gnulib-tool --update && \
29 autoreconf -i --force --verbose
30
31 echo "guile-readline..."
32 (cd guile-readline && ./autogen.sh)
33
34 echo "Now run configure and make."
35 echo "You must pass the \`--enable-maintainer-mode' option to configure."