Remove configure, which is generated.
Add .gitignore files.
cw.c: fix a compiler warning and a potential integer overflow.
configure.in: fix an error, remove a redundant line, and improve formatting