Mercurial > emacs
annotate src/s/irix6-5.h @ 108134:236318fbe135
Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW.
* configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute in Makefiles.
(TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW.
* src/Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
(TOOLKIT_LIBW): New, set by configure.
(@X_TOOLKIT_TYPE@): No longer define it.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 27 Apr 2010 00:33:35 -0700 |
parents | 58f5110b2519 |
children | d37472566980 |
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 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
106815 | 4 2008, 2009, 2010 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 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
8 GNU Emacs is free software: you can redistribute it and/or modify |
75964
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 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
11 (at your option) any later version. |
75964
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 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
75964
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
20 |
aeeef59c6f71
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
68263
diff
changeset
|
21 |
48081 | 22 #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
|
23 #include "usg5-4.h" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
24 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
25 #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
|
26 #undef _setjmp |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
27 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
28 #define SETPGRP_RELEASES_CTTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
29 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
30 #ifdef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
31 #undef LIB_STANDARD |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
32 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
33 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
34 #ifdef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
35 #undef SYSTEM_TYPE |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
36 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
37 #define SYSTEM_TYPE "irix" |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
38 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
39 #ifdef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
40 #undef SETUP_SLAVE_PTY |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
41 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
42 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
43 /* 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
|
44 /* 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
|
45 #define SIGNALS_VIA_CHARACTERS |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
46 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
47 /* 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
|
48 #define PTY_TTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
49 /* 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
|
50 #ifdef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
51 #undef PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
52 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
53 #define PTY_NAME_SPRINTF |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
54 #ifdef emacs |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
55 char *_getpty(); |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
56 #endif |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
57 /* 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
|
58 #define PTY_ITERATION |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
59 /* 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
|
60 #define PTY_OPEN \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
61 { \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
62 struct sigaction ocstat, cstat; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
63 char * name; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
64 sigemptyset(&cstat.sa_mask); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
65 cstat.sa_handler = SIG_DFL; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
66 cstat.sa_flags = 0; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
67 sigaction(SIGCLD, &cstat, &ocstat); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
68 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
|
69 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
|
70 if (name == 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
71 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
72 if (fd < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
73 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
74 if (fstat (fd, &stb) < 0) \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
75 return -1; \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
76 strcpy (pty_name, name); \ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
77 } |
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 /* Ulimit(UL_GMEMLIM) is busted... */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
80 #define ULIMIT_BREAK_VALUE 0x14000000 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
81 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
82 /* 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
|
83 #define PREFER_VSUSP |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
84 |
107796
58f5110b2519
* m/iris4d.h (UNEXEC): Move definition ...
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107575
diff
changeset
|
85 #define UNEXEC unexelf.o |
58f5110b2519
* m/iris4d.h (UNEXEC): Move definition ...
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107575
diff
changeset
|
86 |
92159
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
87 /* 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
|
88 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
|
89 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
|
90 /usr/spool/mail/$USER.lock. */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
91 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
92 #define MAIL_USE_FLOCK |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
93 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
94 #define NARROWPROTO 1 |
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 #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
|
97 |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
98 /* 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
|
99 (do not change this comment) */ |
9ed7610349d3
* configure.in: Remove references to obsolete variables and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
79756
diff
changeset
|
100 |
23913 | 101 |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
102 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
31925 | 103 #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
|
104 #endif /* _MIPS_SZLONG */ |
23913 | 105 |
106 #undef SA_RESTART | |
107 | |
34612
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
108 #undef TIOCSIGSEND /* defined in usg5-4.h */ |
52401 | 109 |
68263
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
110 /* 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
|
111 #define GC_SETJMP_WORKS 1 |
06d1688690ad
(GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
112 #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
|
113 |
52401 | 114 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 |
115 (do not change this comment) */ |