#!/bin/sh
-for pkg in pkg-config libtool autoreconf automake aclocal autopoint:gettext
+if [ `uname` = Darwin ]; then
+ LIBTOOL=glibtool
+else
+ LIBTOOL=libtool
+fi
+
+for pkg in pkg-config $LIBTOOL automake aclocal autoreconf:autoconf autopoint:gettext
do
if ! ${pkg%%:*} --version >/dev/null
then
fi
done
-autoreconf --force --install -I m4
+autoreconf --install -I m4