16.02.2015 10:57, Markus Armbruster wrote: [] > Back to serious: patching configure to make sure all the CONFIG_ make > variables make it into header files sounds good to me. > > With #ifdef tests, forgetting to include the header switches things off. > A single header makes guarding against that mistake easier: every .c > needs to include it first, check with grep.
Single header means that any change in config options results in recompilation of everything. Linux kernel solves this but the mechanism is a bit heavy... Thanks, /mjt