diff --git a/ChangeLog b/ChangeLog index 8780951a3..6ec7b9bbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-11 David Turner + + * 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 * all-sources: tagging all sources with VER-2-3-0-RC1 and diff --git a/autogen.sh b/autogen.sh index 2cc947179..3e09c1fc1 100644 --- a/autogen.sh +++ b/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