aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorMiles Bader2005-07-29 01:54:54 +0000
committerMiles Bader2005-07-29 01:54:54 +0000
commit58b646fafc27ea5fb93fa95d5ff84187d689d315 (patch)
tree361704f8149dccf6d1578bea3b89da11ced846f7 /nt
parentffc3bd5c6c5ce65d4390c3523e4527c701a0ed95 (diff)
parentd44e3b453c528446579182d82284abbfd80f8b7d (diff)
downloademacs-58b646fafc27ea5fb93fa95d5ff84187d689d315.tar.gz
emacs-58b646fafc27ea5fb93fa95d5ff84187d689d315.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-74
Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 493-503) - Update from CVS - Update from CVS: lisp/startup.el (command-line): Fix typo. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 95-98) - Update from CVS
Diffstat (limited to 'nt')
-rw-r--r--nt/.gitignore2
-rw-r--r--nt/ChangeLog15
-rwxr-xr-xnt/configure.bat3
-rwxr-xr-xnt/inc/gettext.h72
4 files changed, 18 insertions, 74 deletions
diff --git a/nt/.gitignore b/nt/.gitignore
index c577a6a341f..e371584228b 100644
--- a/nt/.gitignore
+++ b/nt/.gitignore
@@ -1,3 +1,5 @@
1*-spd 1*-spd
2*.pdb 2*.pdb
3.arch-inventory 3.arch-inventory
4makefile
5config.log
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 3d846d9f837..c3dec7b121b 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,18 @@
12005-07-29 Juanma Barranquero <lekktu@gmail.com>
2
3 * configure.bat: Don't create lisp/Makefile.unix.
4
52005-07-28 Juanma Barranquero <lekktu@gmail.com>
6
7 * .cvsignore: Add `makefile' and `config.log'.
8
92005-07-26 Paul Eggert <eggert@cs.ucla.edu>
10
11 Merge gnulib getopt implementation into Emacs.
12
13 * inc/gettext.h: Remove; no longer needed now that
14 lib-src/gettext.h exists.
15
12005-07-16 Eli Zaretskii <eliz@gnu.org> 162005-07-16 Eli Zaretskii <eliz@gnu.org>
2 17
3 * configure.bat: Finish config.log with a line that indicates that 18 * configure.bat: Finish config.log with a line that indicates that
diff --git a/nt/configure.bat b/nt/configure.bat
index bf78ed52bbe..b5f78f2ab51 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -1,7 +1,7 @@
1@echo off 1@echo off
2rem ---------------------------------------------------------------------- 2rem ----------------------------------------------------------------------
3rem Configuration script for MS Windows 95/98/Me and NT/2000/XP 3rem Configuration script for MS Windows 95/98/Me and NT/2000/XP
4rem Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 4rem Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
5rem Free Software Foundation, Inc. 5rem Free Software Foundation, Inc.
6 6
7rem This file is part of GNU Emacs. 7rem This file is part of GNU Emacs.
@@ -499,7 +499,6 @@ copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile
499copy /b config.settings+%MAKECMD%.defs+..\man\makefile.w32-in ..\man\makefile 499copy /b config.settings+%MAKECMD%.defs+..\man\makefile.w32-in ..\man\makefile
500copy /b config.settings+%MAKECMD%.defs+..\lispref\makefile.w32-in ..\lispref\makefile 500copy /b config.settings+%MAKECMD%.defs+..\lispref\makefile.w32-in ..\lispref\makefile
501copy /b config.settings+%MAKECMD%.defs+..\lispintro\makefile.w32-in ..\lispintro\makefile 501copy /b config.settings+%MAKECMD%.defs+..\lispintro\makefile.w32-in ..\lispintro\makefile
502if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile.in Makefile.unix
503if exist ..\lisp\makefile rm -f ../lisp/[Mm]akefile 502if exist ..\lisp\makefile rm -f ../lisp/[Mm]akefile
504copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile 503copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile
505rem Use the default (no-op) Makefile.in if the nt version is not present. 504rem Use the default (no-op) Makefile.in if the nt version is not present.
diff --git a/nt/inc/gettext.h b/nt/inc/gettext.h
deleted file mode 100755
index cd251314cb4..00000000000
--- a/nt/inc/gettext.h
+++ /dev/null
@@ -1,72 +0,0 @@
1/* Convenience header for conditional use of GNU <libintl.h>.
2 Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published
6 by the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public
15 License along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17 USA. */
18
19#ifndef _LIBGETTEXT_H
20#define _LIBGETTEXT_H 1
21
22/* NLS can be disabled through the configure --disable-nls option. */
23#if ENABLE_NLS
24
25/* Get declarations of GNU message catalog functions. */
26# include <libintl.h>
27
28#else
29
30/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
31 chokes if dcgettext is defined as a macro. So include it now, to make
32 later inclusions of <locale.h> a NOP. We don't include <libintl.h>
33 as well because people using "gettext.h" will not include <libintl.h>,
34 and also including <libintl.h> would fail on SunOS 4, whereas <locale.h>
35 is OK. */
36#if defined(__sun)
37# include <locale.h>
38#endif
39
40/* Disabled NLS.
41 The casts to 'const char *' serve the purpose of producing warnings
42 for invalid uses of the value returned from these functions.
43 On pre-ANSI systems without 'const', the config.h file is supposed to
44 contain "#define const". */
45# define gettext(Msgid) ((const char *) (Msgid))
46# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
47# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
48# define ngettext(Msgid1, Msgid2, N) \
49 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
50# define dngettext(Domainname, Msgid1, Msgid2, N) \
51 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
52# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
53 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
54# define textdomain(Domainname) ((const char *) (Domainname))
55# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
56# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
57
58#endif
59
60/* A pseudo function call that serves as a marker for the automated
61 extraction of messages, but does not call gettext(). The run-time
62 translation is done at a different place in the code.
63 The argument, String, should be a literal string. Concatenated strings
64 and other string expressions won't work.
65 The macro's expansion is not parenthesized, so that it is suitable as
66 initializer for static 'char[]' or 'const char[]' variables. */
67#define gettext_noop(String) String
68
69#endif /* _LIBGETTEXT_H */
70
71/* arch-tag: 07b35a70-3531-4cda-9674-2968467143ec
72 (do not change this comment) */