Merge from emacs--rel--22
[bpt/emacs.git] / msdos / README
1 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
2 Free Software Foundation, Inc.
3 See the end of the file for license conditions.
4
5
6 This directory contains scripts for building the DJGPP (a.k.a. MS-DOS)
7 version of Emacs, and other files useful for running that version of
8 Emacs.
9
10 The files emacs.ico and emacs.pif are for using the DJGPP version on
11 Windows 3.X. Since these are binary files, their copyright notice is
12 reproduced here:
13
14 # Copyright (C) 1993, 2002, 2003, 2004, 2005,
15 # 2006, 2007 Free Software Foundation, Inc.
16 #
17 # This file is part of GNU Emacs.
18 #
19 # This file is free software; as a special exception, the author gives
20 # unlimited permission to copy and/or distribute it, with or without
21 # modifications, as long as this notice is preserved.
22 #
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26 #
27 # ----------------------------------------------------------------------
28
29
30 NOTE ON THE LEGAL STATUS OF THE FILES IS_EXEC.C, SIGACTION.C
31
32 As distributed with GNU Emacs, the files is_exec.c and sigaction.c are
33 Copyright (C) 1995 DJ Delorie, and are licensed under the terms of the
34 GNU General Public License version 2 or later (see COPYING).
35
36 Here we record the details of the legal history of these files.
37
38 The files is_exec.c and sigaction.c were originally part of DJGPP,
39 distributed by DJ Delorie. The versions of these files in DJGPP
40 contain the following license notice:
41
42 Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
43
44 The contents of the file COPYING.DJ (as available at, for example, the
45 URL: <http://www.delorie.com/bin/cvsweb.cgi/djgpp/copying.dj>) are as
46 follows:
47
48 -- COPYING.DJ STARTS HERE --
49
50 This is the file "COPYING.DJ". It does NOT apply to any sources or
51 binaries copyrighted by UCB Berkeley, the Free Software Foundation, or
52 any other agency besides DJ Delorie and others who have agreed to
53 allow their sources to be distributed under these terms.
54
55 Copyright Information for sources and executables that are marked
56 Copyright (C) DJ Delorie
57 334 North Rd
58 Deerfield NH 03037-1110
59
60 This document is Copyright (C) DJ Delorie and may be distributed
61 verbatim, but changing it is not allowed.
62
63 Source code copyright DJ Delorie is distributed under the terms of the
64 GNU General Public Licence, with the following exceptions:
65
66 * Sources used to build crt0.o, gcrt0.o, libc.a, libdbg.a, and
67 libemu.a are distributed under the terms of the GNU Library General
68 Public License, rather than the GNU GPL.
69
70 * Any existing copyright or authorship information in any given source
71 file must remain intact. If you modify a source file, a notice to that
72 effect must be added to the authorship information in the source file.
73
74 * Runtime binaries, as provided by DJ in DJGPP, may be distributed
75 without sources ONLY if the recipient is given sufficient information
76 to obtain a copy of djgpp themselves. This primarily applies to
77 go32-v2.exe, emu387.dxe, and stubedit.exe.
78
79 * Runtime objects and libraries, as provided by DJ in DJGPP, when
80 linked into an application, may be distributed without sources ONLY
81 if the recipient is given sufficient information to obtain a copy of
82 djgpp themselves. This primarily applies to crt0.o and libc.a.
83
84 -----
85
86 Changes to source code copyright BSD, FSF, or others, by DJ Delorie
87 fall under the terms of the original copyright. Such files usually
88 have multiple copyright notices in them.
89
90 A copy of the files "COPYING" and "COPYING.LIB" are included with this
91 document. If you did not receive a copy of these files, you may
92 obtain one from whence this document was obtained, or by writing:
93
94 Free Software Foundation, Inc.
95 51 Franklin Street,
96 Fifth Floor,
97 Boston, MA 02110-1301,
98 USA
99
100 -- COPYING.DJ ENDS HERE --
101
102 Both is_exec.c and sigaction.c are parts of DJGPP's libc.a, therefore
103 according to exception 1 in the above terms their "base" license is
104 the GNU Library General Public License [now known as the GNU Lesser
105 General Public License].
106
107 The terms of the GNU LGPL, specifically clause 3, which begins:
108
109 3. You may opt to apply the terms of the ordinary GNU General
110 Public License instead of this License to a given copy of the
111 Library.
112
113 permit us to relicense the files is_exec.c and sigaction.c as used in
114 GNU Emacs under the terms of the GNU GPL.
115
116 COPYING.DJ, however, lists extra exceptions 2-4 to the GNU licenses.
117 Items 3 and 4 are not relevant in the case of GNU Emacs, since they
118 can only apply to copies of DJGPP [confirmed by email from DJ Delorie
119 to rms at gnu.org and others, 2007/01/31].
120
121 Exception 2 of COPYING.DJ, when viewed as an added restriction, rather
122 than as an interpretation of the GPL, leads to problems. The added
123 requirement makes the overall license of the file incompatible with
124 the GNU GPL.
125
126 As a solution to this problem, DJ Delorie has kindly granted (February
127 2007) GNU Emacs an exception, and permits us to license the files
128 is_exec.c and sigaction.c solely under the terms of the GNU GPL. This
129 exception applies _only_ to these files as distributed with GNU Emacs.
130 This solution was arrived at in an email discussion between DJ Delorie
131 <dj at delorie.com> and Richard Stallman <rms at gnu.org> in
132 January/February 2007. We record below a summary of the relevant final
133 email in this discussion:
134
135 From: DJ Delorie <dj at delorie.com>
136 To: rms at gnu.org
137 Subject: Re: COPYING.DJ and Emacsn
138
139 I have no problem with whatever you wish to do with those files in
140 emacs (as long as djgpp itself doesn't need to change).
141
142
143 Accordingly, in February 2007 we relicensed the files is_exec.c and
144 sigaction.c as used in GNU Emacs under the GNU GPL.
145
146 Copies of both the GNU General Public License and GNU Lesser (Library)
147 Public License may be obtained from: the Free Software Foundation,
148 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
149
150 \f
151 This file is part of GNU Emacs.
152
153 GNU Emacs is free software; you can redistribute it and/or modify
154 it under the terms of the GNU General Public License as published by
155 the Free Software Foundation; either version 2, or (at your option)
156 any later version.
157
158 GNU Emacs is distributed in the hope that it will be useful,
159 but WITHOUT ANY WARRANTY; without even the implied warranty of
160 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
161 GNU General Public License for more details.
162
163 You should have received a copy of the GNU General Public License
164 along with GNU Emacs; see the file COPYING. If not, write to the
165 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
166 Boston, MA 02110-1301, USA.