Packages modifying texmf.cnf (e.g., tex-hugelatex and tex-jadetex) can use this instead of inventing their own way.