'test' had been misspelled 'text', and the error had propagated to all seven games.
Most changes merely prevent including header files that don't exist. All games now build and run on MinGW, though bugs remain.
'configure' and 'make install' now work. There may be problems with hard-to-test features like MAXLOAD.