Boot.Utilgetenv_rocq name returns the value of "ROCQ$name" if it exists, otherwise the value of "COQ$name" if it exists and warns that it is deprecated, otherwise None.
getenv_rocq_gen ~rocq ~coq returns the value of rocq if it exists, otherwise the value of coq if it exists and warns that it is deprecated, otherwise None.