]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
authorMark Klein <mklein@dis.com>
Fri, 28 May 1999 02:10:39 +0000 (02:10 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 28 May 1999 02:10:39 +0000 (20:10 -0600)
From-SVN: r27212

texinfo/ChangeLog
texinfo/makeinfo/makeinfo.c

index 67233d9844dcec56252fbffe78494a22bd037832..ba9936498e2af56cf6eeca0804fc020da142a5c1 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 dec3a4ef34fb22f0110b471dc6037bd35757da8a..3094a650d61b0c3c10eb3330ed1ed9b48958decc 100644 (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.  */