aboutsummaryrefslogtreecommitdiff
path: root/texinfo/makeinfo/makeinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'texinfo/makeinfo/makeinfo.c')
-rw-r--r--texinfo/makeinfo/makeinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/texinfo/makeinfo/makeinfo.c b/texinfo/makeinfo/makeinfo.c
index dec3a4ef34f..3094a650d61 100644
--- a/texinfo/makeinfo/makeinfo.c
+++ b/texinfo/makeinfo/makeinfo.c
@@ -945,8 +945,10 @@ main (argc, argv)
/* Do not use LC_ALL, because LC_NUMERIC screws up the scanf parsing
of the argument to @multicolumn. */
setlocale (LC_TIME, "");
+#ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
#endif
+#endif
/* Set the text message domain. */
bindtextdomain (PACKAGE, LOCALEDIR);