#!/bin/sh

set -x

# On MacOS X, the GNU libtool is named `glibtool'.
HOSTOS=`uname`
LIBTOOLIZE=libtoolize
if test "$HOSTOS"x = Darwinx; then
    LIBTOOLIZE=glibtoolize
fi

aclocal -I project
$LIBTOOLIZE --force --automake --copy
autoheader
automake --foreign --add-missing --copy
autoconf


