Switch license to GPLv3 or later.
[bpt/emacs.git] / msdos / README
CommitLineData
2f969cd4
GM
1Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
2 Free Software Foundation, Inc.
3See the end of the file for license conditions.
4
5
d7fcecc1
EZ
6This directory contains scripts for building the DJGPP (a.k.a. MS-DOS)
7version of Emacs, and other files useful for running that version of
8Emacs.
9
10The files emacs.ico and emacs.pif are for using the DJGPP version on
11Windows 3.X. Since these are binary files, their copyright notice is
12reproduced here:
13
ceb4c4d3 14# Copyright (C) 1993, 2002, 2003, 2004, 2005,
4e6835db 15# 2006, 2007 Free Software Foundation, Inc.
d7fcecc1
EZ
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
dd7203c7
GM
29
30NOTE ON THE LEGAL STATUS OF THE FILES IS_EXEC.C, SIGACTION.C
31
32As distributed with GNU Emacs, the files is_exec.c and sigaction.c are
33Copyright (C) 1995 DJ Delorie, and are licensed under the terms of the
34GNU General Public License version 2 or later (see COPYING).
35
36Here we record the details of the legal history of these files.
37
38The files is_exec.c and sigaction.c were originally part of DJGPP,
39distributed by DJ Delorie. The versions of these files in DJGPP
40contain the following license notice:
41
42 Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
43
44The contents of the file COPYING.DJ (as available at, for example, the
45URL: <http://www.delorie.com/bin/cvsweb.cgi/djgpp/copying.dj>) are as
46follows:
47
48-- COPYING.DJ STARTS HERE --
49
50This is the file "COPYING.DJ". It does NOT apply to any sources or
51binaries copyrighted by UCB Berkeley, the Free Software Foundation, or
52any other agency besides DJ Delorie and others who have agreed to
53allow 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
60This document is Copyright (C) DJ Delorie and may be distributed
61verbatim, but changing it is not allowed.
62
63Source code copyright DJ Delorie is distributed under the terms of the
64GNU 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
86Changes to source code copyright BSD, FSF, or others, by DJ Delorie
87fall under the terms of the original copyright. Such files usually
88have multiple copyright notices in them.
89
90A copy of the files "COPYING" and "COPYING.LIB" are included with this
91document. If you did not receive a copy of these files, you may
92obtain 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
102Both is_exec.c and sigaction.c are parts of DJGPP's libc.a, therefore
103according to exception 1 in the above terms their "base" license is
104the GNU Library General Public License [now known as the GNU Lesser
105General Public License].
106
107The 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
113permit us to relicense the files is_exec.c and sigaction.c as used in
114GNU Emacs under the terms of the GNU GPL.
115
116COPYING.DJ, however, lists extra exceptions 2-4 to the GNU licenses.
117Items 3 and 4 are not relevant in the case of GNU Emacs, since they
118can only apply to copies of DJGPP [confirmed by email from DJ Delorie
119to rms at gnu.org and others, 2007/01/31].
120
121Exception 2 of COPYING.DJ, when viewed as an added restriction, rather
122than as an interpretation of the GPL, leads to problems. The added
123requirement makes the overall license of the file incompatible with
124the GNU GPL.
125
126As a solution to this problem, DJ Delorie has kindly granted (February
1272007) GNU Emacs an exception, and permits us to license the files
128is_exec.c and sigaction.c solely under the terms of the GNU GPL. This
129exception applies _only_ to these files as distributed with GNU Emacs.
130This solution was arrived at in an email discussion between DJ Delorie
131<dj at delorie.com> and Richard Stallman <rms at gnu.org> in
132January/February 2007. We record below a summary of the relevant final
133email 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
143Accordingly, in February 2007 we relicensed the files is_exec.c and
144sigaction.c as used in GNU Emacs under the GNU GPL.
145
146Copies of both the GNU General Public License and GNU Lesser (Library)
147Public License may be obtained from: the Free Software Foundation,
148Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2f969cd4
GM
149
150\f
151This file is part of GNU Emacs.
152
153GNU Emacs is free software; you can redistribute it and/or modify
154it under the terms of the GNU General Public License as published by
4a9f99bd 155the Free Software Foundation; either version 3, or (at your option)
2f969cd4
GM
156any later version.
157
158GNU Emacs is distributed in the hope that it will be useful,
159but WITHOUT ANY WARRANTY; without even the implied warranty of
160MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
161GNU General Public License for more details.
162
163You should have received a copy of the GNU General Public License
164along with GNU Emacs; see the file COPYING. If not, write to the
165Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
166Boston, MA 02110-1301, USA.