* build/ac-macros/berkeley-db.m4 (SVN_LIB_BERKELEY_DB_TRY): Block building with BDB 6, with a comment explaining why. (SVN_LIB_BERKELEY_DB): Document that only 4.x and 5.x are supported. (--with-berkeley-db): Ditto. The help string does not evaluate the $, but that is a preexisting bug that should be fixed separately.
* build/generator/gen_win.py (GeneratorBase._find_bdb): Add a comment cautioning against enabling BDB 6.
* configure.ac: Define $db_alt_version and use it in an error message.
Fix Windows project file generator to not exclude .c files generated by Swig from the build.
* build/generator/gen_win.py (GeneratorBase.__init__): Construct a set of all private include files that were explicitly listed in build.conf. (WinGeneratorBase.get_proj_sources): Only exclude from build those dependencies that appear in the exclude list.