As part of this change I have written a couple of M4 macros. This not being something I have done before, any. Any input is appreciated on style or if things can be done better.
Usage is:
If you don't specify a max then 1717
is used as the default. It works out what flags are available to modify the behavior of the C++ compiler to a different version of the standard and then defines the two macros: