From 6c123729de158957c1a7c2d3ddb66e3fb27d1f75 Mon Sep 17 00:00:00 2001 From: Mark Klein Date: Fri, 28 May 1999 02:10:39 +0000 Subject: * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call. From-SVN: r27212 --- texinfo/ChangeLog | 4 ++++ texinfo/makeinfo/makeinfo.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'texinfo') 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 + + * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call. + 1999-02-24 Alexandre Oliva * 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); -- cgit v1.1