Change the build system from raw autoconf to use automake and libtool.
Try glibtoolize before libtoolize (for Mac)
Fix output message from autogen.sh if --no-configure option was given.
Remove inappropriate DISTCLEAN targets.
Add automake-generated files to .gitignore.