1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 11:10:32 +02:00
guile/autogen.sh
Ludovic Courtès 449be2a5e5 build: Adjust autogen.sh to 'libtoolize' name on Darwin.
Reported by Daniel Llorens.

* autogen.sh: Use 'glibtoolize' on Darwin.
2014-10-06 15:23:10 +02:00

38 lines
732 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 ""
# Typical MacOS X installations rename 'libtoolize' to 'glibtoolize', so
# adjust to that.
if test "`uname -s`" = "Darwin"; then
glibtoolize --version
else
libtoolize --version
fi
echo ""
${M4:-m4} --version
echo ""
flex --version
echo ""
######################################################################
### update infrastructure
autoreconf -i --force --verbose
echo "Now run configure and make."