# 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