1999-10-05 19:07:40 +00:00
|
|
|
#!/bin/sh
|
2007-07-17 08:39:35 +00:00
|
|
|
# Usage: sh -x ./autogen.sh
|
1999-10-05 19:07:40 +00:00
|
|
|
|
2002-02-25 04:46:41 +00:00
|
|
|
set -e
|
|
|
|
|
|
1999-10-05 23:07:04 +00:00
|
|
|
[ -f GUILE-VERSION ] || {
|
2002-03-31 23:18:06 +00:00
|
|
|
echo "autogen.sh: run this command only at the top of guile-core."
|
1999-10-05 23:07:04 +00:00
|
|
|
exit 1
|
|
|
|
|
}
|
|
|
|
|
|
2007-02-24 17:34:02 +00:00
|
|
|
######################################################################
|
|
|
|
|
### 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 ""
|
2007-02-24 17:34:02 +00:00
|
|
|
|
2002-03-31 23:18:06 +00:00
|
|
|
######################################################################
|
2003-02-27 07:08:28 +00:00
|
|
|
### update infrastructure
|
2002-03-31 23:18:06 +00:00
|
|
|
|
2007-07-29 14:58:21 +00:00
|
|
|
gnulib-tool --update && \
|
2005-02-28 02:46:30 +00:00
|
|
|
autoreconf -i --force --verbose
|
2003-03-21 15:59:01 +00:00
|
|
|
|
2002-02-25 04:46:41 +00:00
|
|
|
echo "guile-readline..."
|
|
|
|
|
(cd guile-readline && ./autogen.sh)
|
2001-06-25 15:07:20 +00:00
|
|
|
|
2008-02-15 23:06:52 +00:00
|
|
|
# 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/
|
|
|
|
|
|
2001-06-25 15:07:20 +00:00
|
|
|
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."
|