1 diff -Nur emacs-20.7.orig/configure.in emacs-20.7/configure.in
2 --- emacs-20.7.orig/configure.in Thu Sep 28 21:47:46 2000
3 +++ emacs-20.7/configure.in Thu Sep 28 21:58:50 2000
5 machine=stride opsys=usg5-2
11 + machine=s390-linux opsys=gnu-linux
15 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
16 machine=sparc opsys=gnu-linux
17 diff -Nur emacs-20.7.orig/etc/MACHINES emacs-20.7/etc/MACHINES
18 --- emacs-20.7.orig/etc/MACHINES Mon Aug 2 14:56:48 1999
19 +++ emacs-20.7/etc/MACHINES Thu Sep 28 21:58:50 2000
22 window.c must not be compiled with -O on AIX.
24 +IBM S/390 running Linux (s390-*-linux-gnu)
26 + Builds with usual autoconf patches and a proper machine definition.
27 + This architecture is very new and it's compiler has some bugs.
28 + The binary is tested for basic functionality, but some hidden
29 + bugs can be expected.
31 Integrated Solutions `Optimum V' (m68k-isi-bsd4.2 or -bsd4.3)
33 18.52 said to work on some sort of ISI machine.
34 diff -Nur emacs-20.7.orig/src/m/s390-linux.h emacs-20.7/src/m/s390-linux.h
35 --- emacs-20.7.orig/src/m/s390-linux.h Thu Jan 1 01:00:00 1970
36 +++ emacs-20.7/src/m/s390-linux.h Thu Sep 28 21:58:50 2000
38 +/* machine description file template.
39 + Copyright (C) 1985, 1986 Free Software Foundation, Inc.
41 +This file is part of GNU Emacs.
43 +GNU Emacs is free software; you can redistribute it and/or modify
44 +it under the terms of the GNU General Public License as published by
45 +the Free Software Foundation; either version 2, or (at your option)
48 +GNU Emacs is distributed in the hope that it will be useful,
49 +but WITHOUT ANY WARRANTY; without even the implied warranty of
50 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 +GNU General Public License for more details.
53 +You should have received a copy of the GNU General Public License
54 +along with GNU Emacs; see the file COPYING. If not, write to
55 +the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
56 +Boston, MA 02111-1307, USA. */
59 +/* The following line tells the configuration script what sort of
60 + operating system this machine is likely to run.
61 + USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */
63 +/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
64 + is the most significant byte. */
66 +#define WORDS_BIG_ENDIAN
68 +/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
69 + * group of arguments and treat it as an array of the arguments. */
73 +/* Define WORD_MACHINE if addresses and such have
74 + * to be corrected before they can be used as byte counts. */
78 +/* Now define a symbol for the cpu type, if your compiler
79 + does not define it automatically:
80 + Ones defined so far include vax, m68000, ns16000, pyramid,
81 + orion, tahoe, APOLLO and many others */
83 +/* Use type int rather than a union, to represent Lisp_Object */
84 +/* This is desirable for most machines. */
86 +#define NO_UNION_TYPE
88 +/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
89 + the 24-bit bit field into an int. In other words, if bit fields
90 + are always unsigned.
92 + If you use NO_UNION_TYPE, this flag does not matter. */
94 +#undef EXPLICIT_SIGN_EXTEND
96 +/* Data type of load average, as read out of kmem. */
98 +#define LOAD_AVE_TYPE long
100 +/* Convert that into an integer that is 100 for a load average of 1.0 */
102 +#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
104 +/* Define CANNOT_DUMP on machines where unexec does not work.
105 + Then the function dump-emacs will not be defined
106 + and temacs will do (load "loadup") automatically unless told otherwise. */
110 +/* Define VIRT_ADDR_VARIES if the virtual addresses of
111 + pure and impure space as loaded can vary, and even their
112 + relative order cannot be relied on.
114 + Otherwise Emacs assumes that text space precedes data space,
117 +#define VIRT_ADDR_VARIES
119 +/* Define C_ALLOCA if this machine does not support a true alloca
120 + and the one written in C should be used instead.
121 + Define HAVE_ALLOCA to say that the system provides a properly
122 + working alloca function and it should be used.
123 + Define neither one if an assembler-language alloca
124 + in the file alloca.s should be used. */
129 +/* Define NO_REMAP if memory segmentation makes it not work well
130 + to change the boundary between the text section and data section
131 + when Emacs is dumped. If you define this, the preloaded Lisp
132 + code will not be sharable; but that's better than failing completely. */
136 +/* Some really obscure 4.2-based systems (like Sequent DYNIX)
137 + * do not support asynchronous I/O (using SIGIO) on sockets,
138 + * even though it works fine on tty's. If you have one of
139 + * these systems, define the following, and then use it in
140 + * config.h (or elsewhere) to decide when (not) to use SIGIO.
142 + * You'd think this would go in an operating-system description file,
143 + * but since it only occurs on some, but not all, BSD systems, the
144 + * reasonable place to select for it is in the machine description
148 +#undef NO_SOCK_SIGIO
151 +/* After adding support for a new system, modify the large case
152 + statement in the `configure' script to recognize reasonable
153 + configuration names, and add a description of the system to
156 + If you've just fixed a problem in an existing configuration file,
157 + you should also check `etc/MACHINES' to make sure its descriptions
158 + of known problems in that configuration should be updated. */