#!/bin/sh

set -e
echo "Initial preparation...this can take awhile, so sit tight..."
aclocal

# MacOS X renames GNU libtool to "glibtool", since they have something
#  else called "libtool" already...
if [ -x /usr/bin/glibtoolize ]; then
  glibtoolize --automake --copy --force
else
  libtoolize --automake --copy --force
fi

autoheader
automake --foreign --add-missing --copy
autoconf

echo "You are now ready to run ./configure ..."

