The test for LC_MESSAGES should not be necessary because Gnulib ensures
that LC_MESSAGES is always defined.
The test for ENABLE_NLS should not be necessary because PSPP has not
supported that configuration for some time.
setlocale (LC_CTYPE, "");
setlocale (LC_CTYPE, "");
setlocale (LC_MESSAGES, "");
setlocale (LC_MESSAGES, "");
#if HAVE_LC_PAPER
setlocale (LC_PAPER, "");
#endif
bindtextdomain (PACKAGE, relocate(locale_dir));
textdomain (PACKAGE);
#if HAVE_LC_PAPER
setlocale (LC_PAPER, "");
#endif
bindtextdomain (PACKAGE, relocate(locale_dir));
textdomain (PACKAGE);
assert (default_encoding == NULL);
default_encoding = xstrdup (locale_charset ());
assert (default_encoding == NULL);
default_encoding = xstrdup (locale_charset ());