some changes to make it autoreconf 2.68 compatible.
ignore vim swap files.