--- /dev/null
+#!/bin/sh
+# This script is used to regenerate autotools stuff
+
+LIBTOOLIZE=libtoolize
+case `uname -s` in
+ Darwin) LIBTOOLIZE=glibtoolize ;;
+esac
+
+aclocal -I m4 \
+&& ${LIBTOOLIZE} --copy \
+&& automake --add-missing --copy \
+&& autoheader \
+&& autoconf
+