aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-08-29 02:14:58 +0000
committerJim Blandy1992-08-29 02:14:58 +0000
commitbd3073920fe7bf841a155480e3a77a1030bacfa8 (patch)
tree820401de51455f41a5e7eb36b14cf46682738e79 /src
parent5d305367662fbdf5f127794027673b8e1e65adf6 (diff)
downloademacs-bd3073920fe7bf841a155480e3a77a1030bacfa8.tar.gz
emacs-bd3073920fe7bf841a155480e3a77a1030bacfa8.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit2
-rw-r--r--src/s/usg5-4.h66
-rw-r--r--src/systty.h2
3 files changed, 38 insertions, 32 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index a046876405b..28fe00672d4 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -95,7 +95,7 @@ end
95 95
96define xcons 96define xcons
97print (struct Lisp_Cons *) ($ & 0x00ffffff) 97print (struct Lisp_Cons *) ($ & 0x00ffffff)
98output *$ 98output *(struct Lisp_Cons *) ($ & 0x00ffffff)
99echo \n 99echo \n
100end 100end
101document xcons 101document xcons
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index f94b5251e29..9ec1f14d56a 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -1,22 +1,21 @@
1/* Definitions file for GNU Emacs running on AT&T's System V Release 4 1/* Definitions file for GNU Emacs running on AT&T's System V Release 4
2 Copyright (C) 1987 Free Software Foundation, Inc. 2 Copyright (C) 1987, 1990 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option)
9any later version.
10
6GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
7but WITHOUT ANY WARRANTY. No author or distributor 12but WITHOUT ANY WARRANTY; without even the implied warranty of
8accepts responsibility to anyone for the consequences of using it 13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9or for whether it serves any particular purpose or works at all, 14GNU General Public License for more details.
10unless he says so in writing. Refer to the GNU Emacs General Public 15
11License for full details. 16You should have received a copy of the GNU General Public License
12 17along with GNU Emacs; see the file COPYING. If not, write to
13Everyone is granted permission to copy, modify and redistribute 18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
14GNU Emacs, but only under the conditions described in the
15GNU Emacs General Public License. A copy of this license is
16supposed to have been given to you along with GNU Emacs so you
17can know your rights and responsibilities. It should be in a
18file named COPYING. Among other things, the copyright notice
19and this notice must be preserved on all copies. */
20 19
21/* This file written by James Van Artsdalen of Dell Computer Corporation. 20/* This file written by James Van Artsdalen of Dell Computer Corporation.
22 * james@bigtex.cactus.org. 21 * james@bigtex.cactus.org.
@@ -24,7 +23,7 @@ and this notice must be preserved on all copies. */
24 23
25/* Use the SysVr3 file for at least base configuration. */ 24/* Use the SysVr3 file for at least base configuration. */
26 25
27#include "usg5-3.h" 26#include "s-usg5-3.h"
28 27
29#define USG5_4 28#define USG5_4
30 29
@@ -32,22 +31,13 @@ and this notice must be preserved on all copies. */
32 31
33#undef NOMULTIPLEJOBS 32#undef NOMULTIPLEJOBS
34 33
35/* If compiled by GNU C, we must have gnulib */
36
37#ifdef __GNUC__
38#define GNULIB /usr/local/lib/gcc-gnulib
39#define LIBS_DEBUG
40#else
41#define GNULIB
42#endif
43
44#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o 34#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o
45 35
46#define LIB_STANDARD GNULIB -lsocket -lnsl -lelf -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o 36#define LIB_STANDARD -lsocket -lnsl -lelf -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
47 37
48/* Use ptem.h to get structures related to windows. */ 38/* No <sioctl.h> */
49 39
50#define NEED_PTEM_H 40#define NO_SIOCTL_H
51 41
52/* Undump with ELF */ 42/* Undump with ELF */
53 43
@@ -65,10 +55,14 @@ and this notice must be preserved on all copies. */
65#include <termio.h> 55#include <termio.h>
66#include <sys/ttold.h> 56#include <sys/ttold.h>
67#include <signal.h> 57#include <signal.h>
58#include <sys/wait.h>
59#include <sys/stream.h>
60#include <sys/stropts.h>
61#include <sys/termios.h>
68#undef SIGIO 62#undef SIGIO
69#endif 63#endif
70 64
71/* libc has this stuff, but still not utimes. */ 65/* libc has this stuff, but not utimes. */
72 66
73#define HAVE_RENAME 67#define HAVE_RENAME
74#define HAVE_SELECT 68#define HAVE_SELECT
@@ -95,6 +89,7 @@ and this notice must be preserved on all copies. */
95 89
96#define HAVE_PTYS 90#define HAVE_PTYS
97#define HAVE_SETSID 91#define HAVE_SETSID
92#define HAVE_TCATTR
98 93
99/* It is possible to receive SIGCHLD when there are no children 94/* It is possible to receive SIGCHLD when there are no children
100 waiting, because a previous waitsys(2) cleaned up the carcass of child 95 waiting, because a previous waitsys(2) cleaned up the carcass of child
@@ -154,6 +149,17 @@ and this notice must be preserved on all copies. */
154 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ 149 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
155 fatal ("ioctl I_PUSH ttcompat", errno); 150 fatal ("ioctl I_PUSH ttcompat", errno);
156 151
157/* The definition of this in usg5-3.h is not needed in 5.4. */ 152/* The definition of this in s-usg5-3.h is not needed in 5.4. */
158 153/* liblnsl_s should never be used. The _s suffix implies a shared
154 library, as opposed to a DLL. Share libraries were used in SVR3, and are
155 available only in order to allow SVR3 binaries to run. They should not be
156 linked in to new binaries. -- caraway!pinkas@caraway.intel.com. */
157#undef LIBX10_SYSTEM
159#undef LIBX11_SYSTEM 158#undef LIBX11_SYSTEM
159
160/* Tell x11term.c and keyboard.c we have the system V streams feature. */
161#define SYSV_STREAMS
162
163/* This definition was suggested for next release.
164 So give it a try. */
165#define HAVE_SOCKETS
diff --git a/src/systty.h b/src/systty.h
index 662d6c090f2..186d3edff80 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -291,7 +291,7 @@ struct emacs_tty {
291 291
292}; 292};
293 293
294/* Define these to be a concatenation of all the EMACS_{GET,SET}_TTY 294/* Define these to be a concatenation of all the EMACS_{GET,SET}_TTY_n
295 macros. */ 295 macros. */
296#define EMACS_GET_TTY(fd, tc) \ 296#define EMACS_GET_TTY(fd, tc) \
297 (EMACS_GET_TTY_1 (fd, tc) \ 297 (EMACS_GET_TTY_1 (fd, tc) \