PAC_C_CHECK_COMPILER_OPTION(optionname,action-if-ok,action-if-fail)
If no actions are specified, a working value is added to COPTIONS
We are extra careful to prototype the functions in case compiler options that complain about poor code are in effect.
Because this is a long script, we have ensured that you can pass a variable containing the option name as the first argument.