make distclean then edit configure.in and aclocal.m4 then libtoolize --force this will create config.guess config.sub ltmain.sh and libtool automake -a--add-missing --copy --foreign --gnu autoheader autoconf configure