* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.

From-SVN: r27212
This commit is contained in:
Mark Klein 1999-05-28 02:10:39 +00:00 committed by Jeff Law
parent 6ab5c7408e
commit 6c123729de
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -945,7 +945,9 @@ 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. */