Remove whitespace at end of lines.
Add additional generated files to .gitignore.
Allow maintainer mode to be disabled (debian build scripts do this).
Add ZLIB_CFLAGS to CFLAGS.
Add file config.h.in~ to .gitignore.