1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/autogen.sh
Ludovic Courtès 850a4c8f5f autogen.sh: Don't presume /usr/bin/m4.
* autogen.sh: Don't presume /usr/bin/m4.
2009-11-18 15:32:03 +01:00

32 lines
608 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 ""
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."