deprecated eval-when situations
[bpt/guile.git] / autogen.sh
... / ...
CommitLineData
1#!/bin/sh
2# Usage: sh -x ./autogen.sh
3
4set -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
13echo ""
14autoconf --version
15echo ""
16automake --version
17echo ""
18
19# Typical MacOS X installations rename 'libtoolize' to 'glibtoolize', so
20# adjust to that.
21if test "`uname -s`" = "Darwin"; then
22 glibtoolize --version
23else
24 libtoolize --version
25fi
26
27echo ""
28${M4:-m4} --version
29echo ""
30flex --version
31echo ""
32
33######################################################################
34### update infrastructure
35
36autoreconf -i --force --verbose
37
38echo "Now run configure and make."