From: Andrew Choi <akochoi@shaw.ca>
Subject: No Gettext on Some Platforms
Date: Fri, 06 Dec 2002 10:45:24 -0700 [thread overview]
Message-ID: <m2bs3zkpmz.fsf@owlbear.local> (raw)
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>
next reply other threads:[~2002-12-06 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 17:45 Andrew Choi [this message]
2002-12-07 3:17 ` No Gettext on Some Platforms Ben Key
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=m2bs3zkpmz.fsf@owlbear.local \
--to=akochoi@shaw.ca \
/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).