Having just set up a new autotools project, and started the project in
Git the following is the complete .gitignore list that I've produced to capture all of the artifacts that have been produced. This only covers the artifacts that are produced by a bare project that doesn't acutally produce any output.
CODE:
# The actual Makefiles produced
Makefile
Makefile.in
# The local aclocal.m4 file
aclocal.m4
# The output of the configure script
config.guess
config.log
config.status
config.sub
# The configure script itself
configure
# The include directory artifacts
include/config.h
include/stamp-h1
# Various scripts used for libtool and the like
install-sh
libtool
ltmain.sh
missing
depcomp
# Not sure what this one is for
autom4te.cache/*