summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 501925f40c1c97daf1a02e3ae22f11cc125d3f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# Usage: sh -x ./autogen.sh

set -e

[ -f GUILE-VERSION ] || {
  echo "autogen.sh: run this command only at the top of guile-core."
  exit 1
}

######################################################################
### announce build tool versions
echo ""
autoconf --version
echo ""
automake --version
echo ""
if test "`uname -s`" = Darwin; then
  glibtool --version
else
  libtool --version
fi
echo ""
${M4:-m4} --version
echo ""

######################################################################
### update infrastructure

autoreconf -i --force --verbose

echo "Now run configure and make."