mirror of
https://github.com/envmodules/modules.git
synced 2026-06-07 00:25:05 +08:00
Add to the configure script the `--enable-extra-siteconfig` and `--disable-extra-siteconfig` options to allow or forbid the definition of a site-specific configuration script controlled with the `MODULES_SITECONFIG` environment variable. These options control the default value of the `g_extrasiteconfig` variable in `modulecmd.tcl`. If this variable is true (by default), MODULES_SITECONFIG is looked at the siteconfig sourcing time. Thus the primary siteconfig.tcl can set the variable to false to ensure the extra siteconfig is disabled whatever the option passed at ./configure time.