I haven't looked at the arduino SDK or syntax, but it should be able to use a simple array to set most of the config.h, and call the cells of the array at the settign define.

having not looked at the code i realized it's somewhat naieve to just pop in but doing so would be the basis for settign up profiles.

as each array would have a name and you load profile X through a setting.

so you could have a profile for makefarm, ultimaker, etc.