Mercurial > hg > xemacs-beta
comparison src/s/irix6-5.h @ 5494:861f2601a38b
Sync s/ files with GNU 23.1.92, delete obsolete stuff, simplify other stuff
--- ChangeLog
2010-02-20 Ben Wing <ben@xemacs.org>
* configure:
* configure.ac (XE_EXPAND_VARIABLE):
* configure.ac (TAB):
irix6-0.h renamed to irix6-5.h; sco7.h deleted.
bsd4-3.h renamed to bsd-common.h.
Simplify setting machine= for intel386, mips.
Put back linux.h.
Incorporate some stuff about debug/optimization flags in irix6-5.h
into configure.ac.
Add a comment about LCC stuff with optimization flags that should be
fixed up.
--- src/ChangeLog
2010-02-20 Ben Wing <ben@xemacs.org>
* sysdep.c:
* sysdep.c (qxe_reliable_signal):
* sysdep.c (retry_open_1):
* sysdep.c (retry_close):
* sysdep.c (retry_read_1):
* sysdep.c (retry_write_1):
* sysdep.c (retry_fopen):
* sysdep.c (retry_fclose):
* sysdep.c (retry_fread):
* sysdep.c (retry_fwrite):
Remove conditionalization on INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE -- always check for EINTR as there's no harm
in it.
Remove old #if 0'ed out SA_RESTART code.
Use manifest constant IRIX6_5 instead of IRIX.
* Makefile.in.in:
* dired.c:
* dired.c (Ffile_attributes):
Use manifest constant IRIX6_5 instead of IRIX.
Eliminate constant BSD4_2, use BSD4_3 instead.
* getloadavg.c:
* getloadavg.c (getloadavg):
* getloadavg.c (LDAV_PRIVILEGED):
* getloadavg.c (LDAV_DONE):
Sync with GNU 23.1.92.
2010-02-20 Ben Wing <ben@xemacs.org>
* s/README:
* s/aix4-2.h:
* s/aix4-2.h (MAIL_USE_LOCKF):
* s/bsd-common.h:
* s/freebsd.h:
* s/freebsd.h (Carey):
* s/freebsd.h (or):
* s/gnu.h:
* s/gnu.h (DATA_START):
* s/hpux11-shr.h:
* s/hpux11.h:
* s/hpux11.h (random):
* s/irix6-5.h:
* s/linux.h:
* s/mach-bsd4-3.h:
* s/netbsd.h:
* s/netbsd.h (or):
* s/netbsd.h (A_TEXT_OFFSET):
* s/netbsd.h (NO_MATHERR):
* s/openbsd.h:
* s/sol2.h:
* s/usg5-4-2.h:
* s/usg5-4.h:
* s/usg5-4.h (or):
* s/usg5-4.h (ORDINARY_LINK):
Sync with GNU 23.1.92.
Put back linux.h.
Rename: bsd4-3.h -> bsd-common.h; irix6-0.h -> irix6-5.h.
Delete: template.h (useless).
Delete a whole bunch of obsolete stuff in sol2.h, linux.h,
freebsd.h -- assume anything over 10 years old is sufficiently
obsolete to be deleted.
Remove LIBS_DEBUG, C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH, KERNEL_FILE,
LDAV_SYMBOL, most remaining PTY stuff, remaining TERMINFO/TERMCAP
stuff. Update README appropriately.
Remove stuff in hpux11-shr.h duplicated in hpux11.h.
Remove sco7.h, identical with usg5-4-2.h.
Remove unused POSIX flag, BROKEN_TIOC*, NO_SIOCTL_H.
2010-02-20 Ben Wing <ben@xemacs.org>
* m/arm.h:
* m/hp800.h:
* m/intel386.h:
* m/mips.h:
* m/powerpc.h:
* m/sparc.h:
* m/template.h:
Temporarily ifdef out all defines involving load-average stuff --
using define ENABLE_SM_FILE_DECLS_OF_LOADAVG_STUFF, which is not
defined.
I'm pretty sure getloadavg.c will take care of defining stuff
properly on all systems without the need to duplicate the info
in m/*. --ben
Delete LIBS_TERMCAP; configure auto-handles this.
Delete extra stuff in hp800.h.
Delete C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH, LDAV_SYMBOL; incorporate
some stuff into configure.ac.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 20 Feb 2010 06:03:00 -0600 |
parents | src/s/irix6-0.h@aa5ed11f473b |
children |
comparison
equal
deleted
inserted
replaced
5493:f62141fe007d | 5494:861f2601a38b |
---|---|
1 /* Definitions file for XEmacs running on Silicon Graphics Irix system 6.5. | |
2 | |
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | |
4 2008, 2009, 2010 Free Software Foundation, Inc. | |
5 Copyright (C) 2010 Ben Wing. | |
6 | |
7 This file is part of XEmacs. | |
8 | |
9 XEmacs is free software: you can redistribute it and/or modify | |
10 it under the terms of the GNU General Public License as published by | |
11 the Free Software Foundation, either version 3 of the License, or | |
12 (at your option) any later version. | |
13 | |
14 XEmacs is distributed in the hope that it will be useful, | |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 GNU General Public License for more details. | |
18 | |
19 You should have received a copy of the GNU General Public License | |
20 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ | |
21 | |
22 /* Synced up with: FSF 23.1.92. */ | |
23 /* Synced by: Ben Wing, 2-18-10. */ | |
24 | |
25 #define IRIX6_5 /* [[ used in m/iris4d ]] -- not currently */ | |
26 #include "usg5-4.h" | |
27 | |
28 /* Delete sigsetmask, _longjmp, _setjmp */ | |
29 | |
30 /* Delete SETPGRP_RELEASES_CTTY */ | |
31 | |
32 #ifdef LIB_STANDARD | |
33 #undef LIB_STANDARD | |
34 #endif | |
35 | |
36 #ifdef SYSTEM_TYPE | |
37 #undef SYSTEM_TYPE | |
38 #endif | |
39 #define SYSTEM_TYPE "irix" | |
40 | |
41 /* Delete SETUP_SLAVE_PTY -- unused in XEmacs */ | |
42 | |
43 /* Delete SIGNALS_VIA_CHARACTERS, PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF, | |
44 PTY_ITERATION, PTY_OPEN -- unnecessary and/or autoconfigured on XEmacs */ | |
45 | |
46 /* Delete POSIX_SIGNALS -- autoconfigured in XEmacs */ | |
47 | |
48 /* Ulimit(UL_GMEMLIM) is busted... */ | |
49 #define ULIMIT_BREAK_VALUE 0x14000000 | |
50 | |
51 /* Delete PREFER_VSUSP -- unused in XEmacs */ | |
52 | |
53 /* define MAIL_USE_FLOCK if the mailer uses flock | |
54 to interlock access to /usr/spool/mail/$USER. | |
55 The alternative is that a lock file named | |
56 /usr/spool/mail/$USER.lock. */ | |
57 | |
58 #define MAIL_USE_FLOCK | |
59 | |
60 /* Delete NARROWPROTO -- autoconfigured in XEmacs */ | |
61 | |
62 /* Delete USE_MMAP_FOR_BUFFERS -- unused in XEmacs */ | |
63 | |
64 /* arch-tag: ad0660e0-acf8-46ae-b866-4f3df5b1101b | |
65 (do not change this comment) */ | |
66 | |
67 | |
68 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ | |
69 #define _LP64 /* lisp.h takes care of the rest */ | |
70 #endif /* _MIPS_SZLONG */ | |
71 | |
72 /* #### Delete C_DEBUG_SWITCH, but should be moved to configure.ac; | |
73 see comments there under with_cflags_debugging */ | |
74 /* #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 */ | |
75 | |
76 /* Delete undef of SA_RESTART, TIOCSIGSEND -- unused in XEmacs */ | |
77 | |
78 /* Delete GC_SETJMP_WORKS, GC_MARK_STACK -- unused in XEmacs */ | |
79 | |
80 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 | |
81 (do not change this comment) */ | |
82 | |
83 | |
84 | |
85 /* XEmacs additions: */ | |
86 | |
87 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined | |
88 * on this system, so inhibit use of matherr. */ | |
89 #define NO_MATHERR | |
90 | |
91 /* use K&R C */ | |
92 /* XEmacs change -- use ANSI, not K&R */ | |
93 #ifndef __GNUC__ | |
94 #define C_SWITCH_SYSTEM "-xansi" | |
95 #endif | |
96 | |
97 /* jackr@engr.sgi.com says that you can't mix different kinds of | |
98 * signal-handling functions under IRIX 5.3. I'm going to assume | |
99 * that that was the reason this got broken. Now that the | |
100 * signal routines are fixed up, maybe this will work. --ben */ | |
101 /* Nope, it doesn't. I've tried lots of things; it must be | |
102 * genuinely broken. */ | |
103 /* XEmacs addition: People on IRIX 5.2 and IRIX 5.3 systems have | |
104 * reported that they can't break out of (while t) using C-g or C-G. | |
105 * This does not occur on other systems, so let's assume that SIGIO | |
106 * is broken on these systems. */ | |
107 #define BROKEN_SIGIO | |
108 | |
109 /* By Tor Arntsen <tor@spacetec.no> for XEmacs. | |
110 * With the following kludge the above LD_SWITCH_SYSTEM will still work just | |
111 * fine even with USE_GCC, and additional tweaking of config.h or ymakefile | |
112 * is avoided. */ | |
113 #ifdef NOT_C_CODE | |
114 # ifdef USE_GCC | |
115 # undef LINKER | |
116 # undef LIB_GCC | |
117 # define LINKER "ld" | |
118 # define LIB_GCC "`gcc --print`" | |
119 # endif | |
120 #endif |