From: "Ben Key" <Bkey1@tampabay.rr.com>
Cc: <emacs-devel@gnu.org>
Subject: RE: No Gettext on Some Platforms
Date: Fri, 6 Dec 2002 22:17:56 -0500 [thread overview]
Message-ID: <004b01c29d9f$3de3dee0$6501a8c0@GODDESS> (raw)
In-Reply-To: <m2bs3zkpmz.fsf@owlbear.local>
Andrew Choi [akochoi@shaw.ca] 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.
next prev parent reply other threads:[~2002-12-07 3:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 17:45 No Gettext on Some Platforms Andrew Choi
2002-12-07 3:17 ` Ben Key [this message]
2002-12-07 3:29 ` Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004b01c29d9f$3de3dee0$6501a8c0@GODDESS' \
--to=bkey1@tampabay.rr.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).