aboutsummaryrefslogtreecommitdiff
path: root/texinfo
diff options
context:
space:
mode:
authorMark Klein <mklein@dis.com>1999-05-28 02:10:39 +0000
committerJeff Law <law@gcc.gnu.org>1999-05-27 20:10:39 -0600
commit6c123729de158957c1a7c2d3ddb66e3fb27d1f75 (patch)
tree96055196c22f177650c3c23409c4140b0beb6b79 /texinfo
parent6ab5c7408e03821425a8e36fc9f69c26fac50c52 (diff)
downloadgcc-6c123729de158957c1a7c2d3ddb66e3fb27d1f75.zip
gcc-6c123729de158957c1a7c2d3ddb66e3fb27d1f75.tar.gz
gcc-6c123729de158957c1a7c2d3ddb66e3fb27d1f75.tar.bz2
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
From-SVN: r27212
Diffstat (limited to 'texinfo')
-rw-r--r--texinfo/ChangeLog4
-rw-r--r--texinfo/makeinfo/makeinfo.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog
index 67233d9..ba99364 100644
--- a/texinfo/ChangeLog
+++ b/texinfo/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 26 19:30:00 1999 Mark Klein <mklein@dis.com>
+
+ * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
+
1999-02-24 Alexandre Oliva <oliva@dcc.unicamp.br>
* lib/Makefile.in: Regen dependencies.
diff --git a/texinfo/makeinfo/makeinfo.c b/texinfo/makeinfo/makeinfo.c
index dec3a4e..3094a65 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);