shadeC already has this, just uncomment this:
// #define DOUBLEPOLY
and youre good to go, i only mentioned this for the other default shaders, i dont really need this, shadeC also does this with every aspect of its .fx files, from enabling normalmapping to number of lights, or did you mean in realtime? because this method still results in various fx files with different settings.
@QUAD: you cant really say that once someone starts asking for this stuff then they know it because honestly i think applying a shader is one of the first things a newb tries to do in an attempt to see how pretty he can make a scene look and personally even i would find it annoying to have to write that into default shaders