1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00
guile/autogen.sh
Ken Raeburn 5783a911f1 Fix autogen.sh for Mac OS X.
* autogen.sh: If uname indicates that the OS is Darwin, run "glibtool"
  instead of "libtool" for the version number check.
2009-10-30 18:39:41 -04:00

32 lines
617 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:-/usr/bin/m4} --version
echo ""
######################################################################
### update infrastructure
autoreconf -i --force --verbose
echo "Now run configure and make."