ref: 038ace28ad6b12e5ca850908cd551986956d8eb2
parent: 7201108da064f49d97fd8e80c068e143c5a8c2e1
author: David Turner <[email protected]>
date: Thu Jan 11 10:00:59 EST 2007
small MacOS X fix for autogen.sh
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-11 David Turner <[email protected]>
+
+ * 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 <[email protected]>
* all-sources: tagging all sources with VER-2-3-0-RC1 and
--- a/autogen.sh
+++ b/autogen.sh
@@ -40,8 +40,16 @@
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