unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gettext.h
@ 2002-12-05 20:10 Joe Buehler
  2002-12-07 19:08 ` gettext.h Eli Zaretskii
  2002-12-07 21:25 ` gettext.h Richard Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Joe Buehler @ 2002-12-05 20:10 UTC (permalink / raw)


A response from a Cygwin developer (below) says that gettext.h should not be used,
rather, the proper header file is libintl.h.  So I guess getopt.c needs a change
of some sort.  The symbol _LIBC is not defined for Cygwin, so it tries to use
gettext.h, yet it should be using libintl.h, as if _LIBC were set.

Joe Buehler

They should not be looking for it.  The correct include file for gettext internationalization is "libintl.h".

gettext.h is an internal header file; it ships with the gettext-devel package in /usr/share/gettext/intl as
part of the source code archive needed for proper 'gettextize' operation.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gettext.h
  2002-12-05 20:10 gettext.h Joe Buehler
@ 2002-12-07 19:08 ` Eli Zaretskii
  2002-12-07 21:25 ` gettext.h Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2002-12-07 19:08 UTC (permalink / raw)
  Cc: emacs-devel

> From: Joe Buehler <jbuehler@hekimian.com>
> Date: Thu, 05 Dec 2002 15:10:27 -0500
> 
> A response from a Cygwin developer (below) says that gettext.h should not be used,
> rather, the proper header file is libintl.h.  So I guess getopt.c needs a change
> of some sort.

I think the current CVS head already has this fixed: the offending
fragment of getopt.c os ifdef'ed away.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gettext.h
  2002-12-05 20:10 gettext.h Joe Buehler
  2002-12-07 19:08 ` gettext.h Eli Zaretskii
@ 2002-12-07 21:25 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-12-07 21:25 UTC (permalink / raw)
  Cc: emacs-devel

    A response from a Cygwin developer (below) says that gettext.h should not be used,
    rather, the proper header file is libintl.h.  So I guess getopt.c needs a change
    of some sort.  The symbol _LIBC is not defined for Cygwin, so it tries to use
    gettext.h, yet it should be using libintl.h, as if _LIBC were set.

For the moment I have simply commented out that #include.  I verified
that that works on GNU/Linux.

I do not want to learn enough about Windows or Cygwin to think about
what's right to do here for them; I'll just leave it to people who
maintain Emacs on Windows to handle this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-07 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 20:10 gettext.h Joe Buehler
2002-12-07 19:08 ` gettext.h Eli Zaretskii
2002-12-07 21:25 ` gettext.h Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).