small MacOS X fix for autogen.sh
This commit is contained in:
parent
7201108da0
commit
038ace28ad
@ -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
|
||||
|
10
autogen.sh
10
autogen.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user