summaryrefslogtreecommitdiff
path: root/libguile/guile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/guile.c')
-rw-r--r--libguile/guile.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libguile/guile.c b/libguile/guile.c
index 2c3be8e2f..03b603eb2 100644
--- a/libguile/guile.c
+++ b/libguile/guile.c
@@ -86,11 +86,10 @@ get_integer_from_environment (const char *var, int def)
static int
should_install_locale (void)
{
- /* If the GUILE_INSTALL_LOCALE environment variable is set to a
- nonzero value, we should install the locale via setlocale(). This
- behavior is off by default for compatibility with previous 2.0.x
- releases. It will be on by default in 2.2. */
- return get_integer_from_environment ("GUILE_INSTALL_LOCALE", 0);
+ /* If the GUILE_INSTALL_LOCALE environment variable is unset,
+ or set to a nonzero value, we should install the locale via
+ setlocale(). */
+ return get_integer_from_environment ("GUILE_INSTALL_LOCALE", 1);
}
int