#! /bin/sh

sh() {
  /bin/sh -c "set -x; $*"
}

export WANT_AUTOMAKE=1.7

sh autopoint --force # for GNU gettext
sh libtoolize --copy --force --automake
sh aclocal -I m4 $ACLOCAL_FLAGS
#sh autoheader
sh autoconf
sh automake --foreign --include-deps --add-missing --copy

echo
echo You are now ready to run ./configure
echo enjoy!