mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
These come from Gnulib's Git commit ae3a0d62f26d8156b403e40d6007475006f3136f, dated 2008-08-19.
37 lines
880 B
Bash
Executable file
37 lines
880 B
Bash
Executable file
#!/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 ""
|
|
libtool --version
|
|
echo ""
|
|
${M4:-/usr/bin/m4} --version
|
|
echo ""
|
|
|
|
######################################################################
|
|
### update infrastructure
|
|
|
|
autoreconf -i --force --verbose
|
|
|
|
echo "guile-readline..."
|
|
(cd guile-readline && ./autogen.sh)
|
|
|
|
# Copy versions of config.guess and config.sub from Guile's repository 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."
|
|
echo "You must pass the \`--enable-maintainer-mode' option to configure."
|