#!/bin/sh

sed 's/AM_INIT_AUTOMAKE(\[1.11/AM_INIT_AUTOMAKE(\[1.16/' -i configure.ac

rm -f config/config.guess config/config.sub
rm -f config/ltmain.sh
rm -fr autom4te.cache

libtoolize -c
aclocal -I config
automake -a -c
autoheader
autoconf
