One thing that occurred to me, if I'm going to rejuggle the templates, why
not name them like the Makefile.${os} and the include/port/${os}.h? We
don't really need two matching logics and no matter how smart we make the
template matching, there's still nothing to be gained if we don't find the
right Makefile.port and include/port/os.h (which we apparently do). So
perhaps get rid of all the fanciness and just use the name detected by the
big case statement at the top of configure.in? (And then treat the subtle
differences *within* the template files.)
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden