small MacOS X fix for autogen.sh

This commit is contained in:
David Turner 2007-01-11 15:00:59 +00:00
parent 7201108da0
commit 038ace28ad
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-01-11 David Turner <david@freetype.org>
* autogen.sh: small fix to get it working on Mac OS X properly,
the issue is that GNU libtool is called "glibtool" on this platform,
and we must call "glibtoolize", since "libtoolize" doesn't exist
2007-01-10 David Turner <david@freetype.org>
* all-sources: tagging all sources with VER-2-3-0-RC1 and

View File

@ -40,8 +40,16 @@ echo "generating \`configure.ac'"
sed -e "s;@VERSION@;$freetype_major$freetype_minor$freetype_patch;" \
< configure.raw > configure.ac
# on MacOS X, the GNU libtool is named "glibtool"
HOSTOS=$(uname)
LIBTOOLIZE=libtoolize
if [ "$HOSTOS"x == Darwinx ] ; then
LIBTOOLIZE=glibtoolize
fi
run aclocal -I . --force
run libtoolize --force --copy
run $LIBTOOLIZE --force --copy
run autoconf --force
chmod +x mkinstalldirs