aboutsummaryrefslogtreecommitdiff
path: root/freetype/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/autogen.sh')
-rw-r--r--freetype/autogen.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/freetype/autogen.sh b/freetype/autogen.sh
index c28a51c13..9f2fb6a3e 100644
--- a/freetype/autogen.sh
+++ b/freetype/autogen.sh
@@ -118,9 +118,12 @@ fi
# On MacOS X, the GNU libtool is named `glibtool'.
HOSTOS=`uname`
-LIBTOOLIZE=libtoolize
-if test "$HOSTOS"x = Darwinx; then
+if test "$LIBTOOLIZE"x != x; then
+ :
+elif test "$HOSTOS"x = Darwinx; then
LIBTOOLIZE=glibtoolize
+else
+ LIBTOOLIZE=libtoolize
fi
if test "$ACLOCAL"x = x; then