emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: No Gettext on Some Platforms


From: Ben Key
Subject: RE: No Gettext on Some Platforms
Date: Fri, 6 Dec 2002 22:17:56 -0500

Andrew Choi address@hidden wrote:
  > A recent change to lib-src/getopt.c causes link failure on platforms
  > without gettext installed.  Please consider the following fix.
  >
  > Index: getopt.c
  > ===================================================================
  > RCS file: /cvsroot/emacs/emacs/lib-src/getopt.c,v
  > retrieving revision 1.21
  > diff -u -r1.21 getopt.c
  > --- getopt.c    5 Dec 2002 15:30:09 -0000       1.21
  > +++ getopt.c    6 Dec 2002 17:32:51 -0000
  > @@ -83,7 +83,11 @@
  >  # include "gettext.h"
  >  #endif
  >  #endif
  > +#ifdef HAVE_LIBINTL_H
  >  #define _(msgid) gettext (msgid)
  > +#else
  > +#define _(msgid) (msgid)
  > +#endif
  >
  >  #if defined _LIBC && defined USE_IN_LIBIO
  >  # include <wchar.h>

Thank you.  I have been trying to figure out a way to fix this problem on
Windows that would not break the build on other platforms since yesterday.
It looks like your patch will do the trick.  If this patch fixes make
bootstrap on Windows without breaking the build on Gnu/Linux, I will apply
your patch tonight.

In the future, when submitting a patch by including the text within your
email message, could you tag the beginning and the end of the patch as
follows:
<patch>
Contents of patch file
</patch>

This is important, especially in those cases in which the patch file has
leading or trailing blank lines.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]