Re: po update

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
Eric Blake <ebb9 <at> byu.net> writes:

> 
> 2006-10-19  Eric Blake  <ebb9 <at> byu.net>
> 
> 	* po/POTFILES.in: Update entries to reflect gnulib imports.

I noticed that the use of N_() in main.c was having problems with --disable-
assert.  And setlocale is required by C89, which we assume now.

2006-10-24  Eric Blake  <[email protected]>

	* src/m4.h (includes): Add gettext.h, for N_.  Assume setlocale.

Index: src/m4.h
===================================================================
RCS file: /sources/m4/m4/src/m4.h,v
retrieving revision 1.21
diff -u -r1.21 m4.h
--- src/m4.h	26 Sep 2006 13:19:26 -0000	1.21
+++ src/m4.h	24 Oct 2006 14:11:28 -0000
@@ -34,12 +34,7 @@
 
 #include "m4module.h"
 
-#if HAVE_LOCALE_H
-# include <locale.h>
-#else
-# define setlocale(Category, Locale)
-#endif
-
+#include "gettext.h"
 #include "ltdl.h"
 
 /* Error handling.  */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.