From: Mark Klein Date: Fri, 28 May 1999 02:10:39 +0000 (+0000) Subject: * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call. X-Git-Tag: releases/libgcj-2.95.0~336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c123729de158957c1a7c2d3ddb66e3fb27d1f75;p=thirdparty%2Fgcc.git * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call. From-SVN: r27212 --- diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog index 67233d9844dc..ba9936498e2a 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 dec3a4ef34fb..3094a650d61b 100644 --- a/texinfo/makeinfo/makeinfo.c +++ b/texinfo/makeinfo/makeinfo.c @@ -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. */