defsubst
[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 if test "`uname -s`" = Darwin; then
19 glibtool --version
20 else
21 libtool --version
22 fi
23 echo ""
24 ${M4:-m4} --version
25 echo ""
26 flex --version
27 echo ""
28
29 ######################################################################
30 ### update infrastructure
31
32 autoreconf -i --force --verbose
33
34 echo "Now run configure and make."