* Makefile.def: New file. * Makefile.tpl: New file. * Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'. * configure.in: Minor rearrangement. Simplify tests.