#! /bin/sh

# (For Mandrake, maybe other distss as well), make sure we use Autoconf 2.5
export WANT_AUTOCONF_2_5=1

# cleanup
. clean

# autotools
echo "calling aclocal"
aclocal -I m4
libtoolize --force --copy
aclocal -I m4
echo "calling autoheader"
autoheader
echo "calling automake --foreign --add-missing"
automake --foreign --add-missing
echo "calling autoconf"
autoconf

# bye bye
echo 'You can now call "./configure [--help]"'



