diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-28 02:10:39 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-28 02:10:39 +0000 |
commit | 6f3914dcf35bc5a7b7bc13e6b5e5405a9f4d318b (patch) | |
tree | 96055196c22f177650c3c23409c4140b0beb6b79 /texinfo | |
parent | 2ec59cf54b90729122eb2930fc8502cf2c826af1 (diff) | |
download | gcc-6f3914dcf35bc5a7b7bc13e6b5e5405a9f4d318b.tar.gz |
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'texinfo')
-rw-r--r-- | texinfo/ChangeLog | 4 | ||||
-rw-r--r-- | texinfo/makeinfo/makeinfo.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog index 67233d9844d..ba9936498e2 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 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); |