OSDN Git Service

* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 1999 02:10:39 +0000 (02:10 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 1999 02:10:39 +0000 (02:10 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27212 138bc75d-0d04-0410-961f-82ee72b054a4

texinfo/ChangeLog
texinfo/makeinfo/makeinfo.c

index 67233d9..ba99364 100644 (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.
index dec3a4e..3094a65 100644 (file)
@@ -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);