guile/autogen.sh

41 lines
930 B
Bash
Raw Normal View History

#!/bin/sh
2007-07-17 08:39:35 +00:00
# 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 ""
libtool --version
echo ""
${M4:-/usr/bin/m4} --version
echo ""
2007-07-29 14:58:21 +00:00
gnulib-tool --version
echo ""
######################################################################
### update infrastructure
2007-07-29 14:58:21 +00:00
gnulib-tool --update && \
autoreconf -i --force --verbose
echo "guile-readline..."
(cd guile-readline && ./autogen.sh)
# Copy versions of config.guess and config.sub from Guile CVS to
# build-aux and guile-readline.
cp -f config.guess config.sub build-aux/
cp -f config.guess config.sub guile-readline/
echo "Now run configure and make."
2001-06-25 22:24:40 +00:00
echo "You must pass the \`--enable-maintainer-mode' option to configure."