Mercurial > emacs
annotate src/s/irix6-5.h @ 94531:b65258bcae70
*** empty log message ***
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 02 May 2008 01:03:38 +0000 |
parents | 9ed7610349d3 |
children | 1f134b61867c |
rev | line source |
---|---|
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
2 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
79756 | 4 2007, 2008 Free Software Foundation, Inc. |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
5 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
6 This file is part of GNU Emacs. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
7 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
8 GNU Emacs is free software; you can redistribute it and/or modify |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
78259
f06998349cfc
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75964
diff
changeset
|
10 the Free Software Foundation; either version 3, or (at your option) |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
11 any later version. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
12 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
16 GNU General Public License for more details. |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
17 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
19 along with GNU Emacs; see the file COPYING. If not, write to |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
21 Boston, MA 02110-1301, USA. */ |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
22 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
23 |
48081 | 24 #define IRIX6_5 /* used in m/iris4d */ |
92159
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
25 #include "usg5-4.h" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
26 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
27 #undef sigsetmask /* use sys_sigsetmask */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
28 #undef _longjmp /* use system versions, not conservative aliases */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
29 #undef _setjmp |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
30 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
31 #define SETPGRP_RELEASES_CTTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
32 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
33 #ifdef LIBS_SYSTEM |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
34 #undef LIBS_SYSTEM |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
35 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
36 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
37 #ifdef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
38 #undef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
39 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
40 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
41 #ifdef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
42 #undef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
43 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
44 #define SYSTEM_TYPE "irix" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
45 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
46 #ifdef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
47 #undef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
48 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
49 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
50 /* thomas@mathematik.uni-bremen.de says this is needed. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
51 /* Make process_send_signal work by "typing" a signal character on the pty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
52 #define SIGNALS_VIA_CHARACTERS |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
53 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
54 /* SGI has all the fancy wait stuff, but we can't include sys/wait.h |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
55 because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
56 we'll just define WNOHANG right here. |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
57 (An implicit decl is good enough for wait3.) */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
58 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
59 /* #define WNOHANG 0x1 */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
60 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
61 /* No need to use sprintf to get the tty name--we get that from _getpty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
62 #ifdef PTY_TTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
63 #undef PTY_TTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
64 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
65 #define PTY_TTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
66 /* No need to get the pty name at all. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
67 #ifdef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
68 #undef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
69 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
70 #define PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
71 #ifdef emacs |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
72 char *_getpty(); |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
73 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
74 /* We need only try once to open a pty. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
75 #define PTY_ITERATION |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
76 /* Here is how to do it. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
77 #define PTY_OPEN \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
78 { \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
79 struct sigaction ocstat, cstat; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
80 char * name; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
81 sigemptyset(&cstat.sa_mask); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
82 cstat.sa_handler = SIG_DFL; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
83 cstat.sa_flags = 0; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
84 sigaction(SIGCLD, &cstat, &ocstat); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
85 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
86 sigaction(SIGCLD, &ocstat, (struct sigaction *)0); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
87 if (name == 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
88 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
89 if (fd < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
90 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
91 if (fstat (fd, &stb) < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
92 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
93 strcpy (pty_name, name); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
94 } |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
95 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
96 /* Since we use POSIX constructs in PTY_OPEN, we must force POSIX |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
97 throughout. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
98 #define POSIX_SIGNALS |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
99 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
100 /* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
101 #define GETPGRP_NO_ARG |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
102 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
103 /* Ulimit(UL_GMEMLIM) is busted... */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
104 #define ULIMIT_BREAK_VALUE 0x14000000 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
105 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
106 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
107 #define PREFER_VSUSP |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
108 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
109 /* define MAIL_USE_FLOCK if the mailer uses flock |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
110 to interlock access to /usr/spool/mail/$USER. |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
111 The alternative is that a lock file named |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
112 /usr/spool/mail/$USER.lock. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
113 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
114 #define MAIL_USE_FLOCK |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
115 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
116 /* -g used not to work on Irix unless you used gas, and since gcc |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
117 warns if you use it, turn off the warning. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
118 /* -g does now work, at least on recent Irix 6 versions with gcc 2.95; |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
119 I'm not sure about Irix 5 -- fx */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
120 #ifdef __GNUC__ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
121 #define C_DEBUG_SWITCH |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
122 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
123 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
124 #define NARROWPROTO 1 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
125 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
126 #define USE_MMAP_FOR_BUFFERS 1 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
127 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
128 /* arch-tag: ad0660e0-acf8-46ae-b866-4f3df5b1101b |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
129 (do not change this comment) */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
130 |
23913 | 131 |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
132 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
31925 | 133 #define _LP64 /* lisp.h takes care of the rest */ |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
134 #endif /* _MIPS_SZLONG */ |
23913 | 135 |
48081 | 136 /* The only supported 32-bit configuration of GCC under IRIX6.x produces |
23913 | 137 n32 MIPS ABI binaries and also supports -g. */ |
138 #ifdef __GNUC__ | |
139 #undef C_DEBUG_SWITCH | |
140 #define C_DEBUG_SWITCH -g | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
141 #else |
27490
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
142 /* Optimize, inaccurate debugging, increase limit on size of what's |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
143 optimized. |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
144 |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
145 This should also be applicable other than on Irix 6.5, but I don't |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
146 know for which compiler versions. -- fx */ |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
147 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 |
23913 | 148 #endif |
149 | |
150 #undef SA_RESTART | |
151 | |
34612
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
152 #undef TIOCSIGSEND /* defined in usg5-4.h */ |
52401 | 153 |
68263
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
154 /* Tested on Irix 6.5. SCM worked on earlier versions. */ |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
155 #define GC_SETJMP_WORKS 1 |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
156 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
157 |
52401 | 158 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 |
159 (do not change this comment) */ |