]> git.pld-linux.org Git - packages/emacs.git/blob - emacs-s390.patch
- updated to 2.190 from alpha.gnu.org (many bugfixes and some new feactures).
[packages/emacs.git] / emacs-s390.patch
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
4 @@ -787,6 +787,12 @@
5      machine=stride opsys=usg5-2
6    ;;
7  
8 +  ## IBM S/390
9 +
10 +  s390-*-linux-gnu* )
11 +    machine=s390-linux opsys=gnu-linux
12 +  ;;
13 +
14    ## Suns
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
20 @@ -566,6 +566,13 @@
21  
22    window.c must not be compiled with -O on AIX.
23  
24 +IBM S/390 running Linux (s390-*-linux-gnu)
25 +
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.
30 +
31  Integrated Solutions `Optimum V' (m68k-isi-bsd4.2 or -bsd4.3)
32  
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
37 @@ -0,0 +1,121 @@
38 +/* machine description file template.
39 +   Copyright (C) 1985, 1986 Free Software Foundation, Inc.
40 +
41 +This file is part of GNU Emacs.
42 +
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)
46 +any later version.
47 +
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.
52 +
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.  */
57 +
58 +
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>"  */
62 +
63 +/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
64 +   is the most significant byte.  */
65 +
66 +#define WORDS_BIG_ENDIAN
67 +
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.  */
70 +
71 +#define NO_ARG_ARRAY
72 +
73 +/* Define WORD_MACHINE if addresses and such have
74 + * to be corrected before they can be used as byte counts.  */
75 +
76 +#define WORD_MACHINE
77 +
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 */
82 +
83 +/* Use type int rather than a union, to represent Lisp_Object */
84 +/* This is desirable for most machines.  */
85 +
86 +#define NO_UNION_TYPE
87 +
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.
91 +
92 +   If you use NO_UNION_TYPE, this flag does not matter.  */
93 +
94 +#undef EXPLICIT_SIGN_EXTEND
95 +
96 +/* Data type of load average, as read out of kmem.  */
97 +
98 +#define LOAD_AVE_TYPE long
99 +
100 +/* Convert that into an integer that is 100 for a load average of 1.0  */
101 +
102 +#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
103 +
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.  */
107 +
108 +#undef CANNOT_DUMP
109 +
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.
113 +
114 +   Otherwise Emacs assumes that text space precedes data space,
115 +   numerically.  */
116 +
117 +#define VIRT_ADDR_VARIES
118 +
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.  */
125 +
126 +#undef C_ALLOCA
127 +#define HAVE_ALLOCA
128 +
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.  */
133 +
134 +#undef NO_REMAP
135 +
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.
141 + *
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
145 + * file.
146 + */
147 +
148 +#undef NO_SOCK_SIGIO
149 +
150 +
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
154 +   `etc/MACHINES'.
155 +
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.  */
This page took 0.043755 seconds and 3 git commands to generate.