#!/bin/sh

set -x

rm -f Makefile Makefile.in aclocal.m4 
rm -rf autom4te.cache
rm -f config.* configure depcomp
rm -f install-sh intltool-* libtool ltmain.sh missing mkinstalldirs
rm -f stamp-* vips-config

aclocal 
glib-gettextize --force --copy
test -r aclocal.m4 && chmod u+w aclocal.m4
intltoolize --copy --force --automake
autoconf
autoheader
libtoolize --copy --force --automake
automake --add-missing --copy

