diff options
| author | Dan Nicolaescu | 2008-01-16 16:29:00 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-01-16 16:29:00 +0000 |
| commit | 6bed5c4a80687fa9767819a948453cfe3551bbc2 (patch) | |
| tree | 9abf8112709a1a95a2a8a047cb52e990e8f9a5d9 /src | |
| parent | 1d86a98fa03896f2b6fe95874a3f5ec1231cb0f2 (diff) | |
| download | emacs-6bed5c4a80687fa9767819a948453cfe3551bbc2.tar.gz emacs-6bed5c4a80687fa9767819a948453cfe3551bbc2.zip | |
* configure.in: Remove more references to unsupported systems.
* s/irix3-3.h:
* s/irix4-0.h:
* s/386-ix.h:
* s/domain.h:
* s/hpux9-x11r4.h:
* s/hpux9shxr4.h: Remove files for systems no longer supported.
* sysdep.c: Remove code containing references to symbols defined
by unsupported systems.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 12 | ||||
| -rw-r--r-- | src/s/386-ix.h | 18 | ||||
| -rw-r--r-- | src/s/domain.h | 7 | ||||
| -rw-r--r-- | src/s/hpux9-x11r4.h | 12 | ||||
| -rw-r--r-- | src/s/hpux9shxr4.h | 10 | ||||
| -rw-r--r-- | src/s/irix3-3.h | 156 | ||||
| -rw-r--r-- | src/s/irix4-0.h | 79 | ||||
| -rw-r--r-- | src/sysdep.c | 10 |
8 files changed, 12 insertions, 292 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e04746694f1..f5c648f03af 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2008-01-16 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * s/irix3-3.h: | ||
| 4 | * s/irix4-0.h: | ||
| 5 | * s/386-ix.h: | ||
| 6 | * s/domain.h: | ||
| 7 | * s/hpux9-x11r4.h: | ||
| 8 | * s/hpux9shxr4.h: Remove files for systems no longer supported. | ||
| 9 | |||
| 10 | * sysdep.c: Remove code containing references to symbols defined | ||
| 11 | by unsupported systems. | ||
| 12 | |||
| 1 | 2008-01-16 Glenn Morris <rgm@gnu.org> | 13 | 2008-01-16 Glenn Morris <rgm@gnu.org> |
| 2 | 14 | ||
| 3 | * coding.c (select-safe-coding-system-function): Doc fix. | 15 | * coding.c (select-safe-coding-system-function): Doc fix. |
diff --git a/src/s/386-ix.h b/src/s/386-ix.h deleted file mode 100644 index 33658dd65e6..00000000000 --- a/src/s/386-ix.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* Interactive 386/ix. */ | ||
| 2 | |||
| 3 | #include "usg5-3.h" | ||
| 4 | |||
| 5 | #define BROKEN_TIOCGETC | ||
| 6 | |||
| 7 | /* There are some reports that the following is needed | ||
| 8 | with some version of this system. | ||
| 9 | #undef LIBX11_SYSTEM | ||
| 10 | #define LIBX11_SYSTEM -linet | ||
| 11 | */ | ||
| 12 | |||
| 13 | /* This is said to be needed as a result of having _insque rather | ||
| 14 | than insque in -loldX. This may not always be the right thing. */ | ||
| 15 | #define WRONG_NAME_INSQUE | ||
| 16 | |||
| 17 | /* arch-tag: c2fc2d64-46fd-4a87-933b-85eff622829c | ||
| 18 | (do not change this comment) */ | ||
diff --git a/src/s/domain.h b/src/s/domain.h deleted file mode 100644 index ebcdc7ea365..00000000000 --- a/src/s/domain.h +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #include "bsd4-3.h" | ||
| 2 | |||
| 3 | /* Inhibit using -X, which is the default. */ | ||
| 4 | #define LD_SWITCH_SYSTEM | ||
| 5 | |||
| 6 | /* arch-tag: 08941c4f-d0b6-4ad6-b7e3-7e7fe76c0e94 | ||
| 7 | (do not change this comment) */ | ||
diff --git a/src/s/hpux9-x11r4.h b/src/s/hpux9-x11r4.h deleted file mode 100644 index 6a701d5a412..00000000000 --- a/src/s/hpux9-x11r4.h +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | /* System description file for hpux version 9 using X11R4. */ | ||
| 2 | |||
| 3 | #include "hpux9.h" | ||
| 4 | |||
| 5 | #undef C_SWITCH_X_SYSTEM | ||
| 6 | #define C_SWITCH_X_SYSTEM -I/usr/include/Motif1.1 | ||
| 7 | |||
| 8 | #undef LD_SWITCH_X_DEFAULT | ||
| 9 | #define LD_SWITCH_X_DEFAULT -L/usr/lib/Motif1.1 | ||
| 10 | |||
| 11 | /* arch-tag: 47664d7b-23ce-43e6-acdd-044a4be08da3 | ||
| 12 | (do not change this comment) */ | ||
diff --git a/src/s/hpux9shxr4.h b/src/s/hpux9shxr4.h deleted file mode 100644 index 63810273698..00000000000 --- a/src/s/hpux9shxr4.h +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #include "hpux9shr.h" | ||
| 2 | |||
| 3 | #undef C_SWITCH_X_SYSTEM | ||
| 4 | #define C_SWITCH_X_SYSTEM -I/usr/include/Motif1.1 | ||
| 5 | |||
| 6 | #undef LD_SWITCH_X_DEFAULT | ||
| 7 | #define LD_SWITCH_X_DEFAULT -L/usr/lib/Motif1.1 | ||
| 8 | |||
| 9 | /* arch-tag: 7f68b8b6-c733-4e6c-81df-39d8d13fb656 | ||
| 10 | (do not change this comment) */ | ||
diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h deleted file mode 100644 index bb5785c6115..00000000000 --- a/src/s/irix3-3.h +++ /dev/null | |||
| @@ -1,156 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3. | ||
| 2 | Copyright (C) 1987, 1990, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | #define USG | ||
| 29 | #define USG5 | ||
| 30 | #define IRIS | ||
| 31 | #ifndef IRIX | ||
| 32 | #define IRIX | ||
| 33 | #endif | ||
| 34 | |||
| 35 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 36 | It sets the Lisp variable system-type. */ | ||
| 37 | |||
| 38 | #define SYSTEM_TYPE "irix" | ||
| 39 | |||
| 40 | /* nomultiplejobs should be defined if your system's shell | ||
| 41 | does not have "job control" (the ability to stop a program, | ||
| 42 | run some other program, then continue the first one). */ | ||
| 43 | |||
| 44 | /* #define NOMULTIPLEJOBS */ | ||
| 45 | |||
| 46 | /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | ||
| 47 | |||
| 48 | /* #define INTERRUPT_INPUT */ | ||
| 49 | |||
| 50 | /* Letter to use in finding device name of first pty, | ||
| 51 | if system supports pty's. 'a' means it is /dev/ptya0 */ | ||
| 52 | |||
| 53 | #define FIRST_PTY_LETTER 'a' | ||
| 54 | |||
| 55 | /* | ||
| 56 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 57 | * for terminal control. | ||
| 58 | */ | ||
| 59 | |||
| 60 | #define HAVE_TERMIO | ||
| 61 | |||
| 62 | /* | ||
| 63 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 64 | */ | ||
| 65 | |||
| 66 | #define HAVE_PTYS | ||
| 67 | |||
| 68 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 69 | |||
| 70 | #define HAVE_SOCKETS | ||
| 71 | |||
| 72 | /* | ||
| 73 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 74 | * The 4.2 opendir, etc., library functions. | ||
| 75 | */ | ||
| 76 | |||
| 77 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 78 | |||
| 79 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 80 | |||
| 81 | #define BSTRING | ||
| 82 | |||
| 83 | /* subprocesses should be defined if you want to | ||
| 84 | have code for asynchronous subprocesses | ||
| 85 | (as used in M-x compile and M-x shell). | ||
| 86 | This is generally OS dependent, and not supported | ||
| 87 | under most USG systems. */ | ||
| 88 | |||
| 89 | #define subprocesses | ||
| 90 | |||
| 91 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 92 | preprocessor symbol "COFF". */ | ||
| 93 | |||
| 94 | /* #define COFF */ | ||
| 95 | |||
| 96 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 97 | to interlock access to /usr/spool/mail/$USER. | ||
| 98 | The alternative is that a lock file named | ||
| 99 | /usr/spool/mail/$USER.lock. */ | ||
| 100 | |||
| 101 | #define MAIL_USE_FLOCK | ||
| 102 | |||
| 103 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 104 | so that Emacs can tell instantly when you try to modify | ||
| 105 | a file that someone else has modified in his Emacs. */ | ||
| 106 | |||
| 107 | /* #define CLASH_DETECTION */ | ||
| 108 | |||
| 109 | /* The file containing the kernel's symbol table is called /unix. */ | ||
| 110 | |||
| 111 | #define KERNEL_FILE "/unix" | ||
| 112 | |||
| 113 | /* The symbol in the kernel where the load average is found | ||
| 114 | is named _avenrun. */ | ||
| 115 | |||
| 116 | #define LDAV_SYMBOL "avenrun" | ||
| 117 | |||
| 118 | |||
| 119 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | ||
| 120 | but they will run slower. */ | ||
| 121 | |||
| 122 | #define _setjmp setjmp | ||
| 123 | #define _longjmp longjmp | ||
| 124 | |||
| 125 | /* On USG systems these have different names */ | ||
| 126 | |||
| 127 | #define index strchr | ||
| 128 | #define rindex strrchr | ||
| 129 | |||
| 130 | /* USG systems tend to put everything declared static | ||
| 131 | into the initialized data area, which becomes pure after dumping Emacs. | ||
| 132 | Foil this. Emacs carefully avoids static vars inside functions. */ | ||
| 133 | |||
| 134 | /* #define static */ | ||
| 135 | |||
| 136 | /* This is how to get the device name of the tty end of a pty. */ | ||
| 137 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 138 | sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); | ||
| 139 | |||
| 140 | |||
| 141 | #define HAVE_SYSVIPC | ||
| 142 | |||
| 143 | /* sioctl.h should be included where appropriate. */ | ||
| 144 | |||
| 145 | #define NEED_SIOCTL | ||
| 146 | |||
| 147 | /* This affects child_setup. */ | ||
| 148 | |||
| 149 | #define SETPGRP_RELEASES_CTTY | ||
| 150 | |||
| 151 | /* This was formerly in LIBS_MACHINE in iris4d.h, | ||
| 152 | but it is not needed for newer system versions. */ | ||
| 153 | #define LIBS_SYSTEM -lsun | ||
| 154 | |||
| 155 | /* arch-tag: cccdd761-2ae9-4e71-a33e-749681c01889 | ||
| 156 | (do not change this comment) */ | ||
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h deleted file mode 100644 index e06940a0378..00000000000 --- a/src/s/irix4-0.h +++ /dev/null | |||
| @@ -1,79 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 4.0 | ||
| 2 | |||
| 3 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007, 2008 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #include "irix3-3.h" | ||
| 25 | |||
| 26 | #define USG5_3 | ||
| 27 | #define IRIX4 | ||
| 28 | /* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */ | ||
| 29 | #define XPointer caddr_t | ||
| 30 | |||
| 31 | #undef NEED_SIOCTL | ||
| 32 | |||
| 33 | /* Include unistd.h, even though we don't define POSIX. */ | ||
| 34 | #define NEED_UNISTD_H | ||
| 35 | |||
| 36 | /* Make process_send_signal work by "typing" a signal character on the pty. */ | ||
| 37 | #define SIGNALS_VIA_CHARACTERS | ||
| 38 | |||
| 39 | #ifndef __GNUC__ | ||
| 40 | /* use K&R C */ | ||
| 41 | /* We need to increase the expression tree space with -Wf,-XNh | ||
| 42 | (ghazi@caip.rutgers.edu 7/8/97.) | ||
| 43 | */ | ||
| 44 | #define C_SWITCH_SYSTEM -cckr -Wf,-XNh4000 | ||
| 45 | #endif | ||
| 46 | |||
| 47 | /* SGI has all the fancy wait stuff, but we can't include sys/wait.h | ||
| 48 | because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead | ||
| 49 | we'll just define WNOHANG right here. | ||
| 50 | (An implicit decl is good enough for wait3.) */ | ||
| 51 | |||
| 52 | #define WNOHANG 0x1 | ||
| 53 | |||
| 54 | /* No need to use sprintf to get the tty name--we get that from _getpty. */ | ||
| 55 | #undef PTY_TTY_NAME_SPRINTF | ||
| 56 | #define PTY_TTY_NAME_SPRINTF | ||
| 57 | /* No need to get the pty name at all. */ | ||
| 58 | #define PTY_NAME_SPRINTF | ||
| 59 | /* We need only try once to open a pty. */ | ||
| 60 | #define PTY_ITERATION | ||
| 61 | /* Here is how to do it. */ | ||
| 62 | /* It is necessary to prevent SIGCHLD signals within _getpty. | ||
| 63 | So we block them. */ | ||
| 64 | #define PTY_OPEN \ | ||
| 65 | { \ | ||
| 66 | int mask = sigblock (sigmask (SIGCHLD)); \ | ||
| 67 | char *name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ | ||
| 68 | sigsetmask(mask); \ | ||
| 69 | if (name == 0) \ | ||
| 70 | return -1; \ | ||
| 71 | if (fd < 0) \ | ||
| 72 | return -1; \ | ||
| 73 | if (fstat (fd, &stb) < 0) \ | ||
| 74 | return -1; \ | ||
| 75 | strcpy (pty_name, name); \ | ||
| 76 | } | ||
| 77 | |||
| 78 | /* arch-tag: cfd7e200-a4dc-4f67-9a32-4184c10b0c57 | ||
| 79 | (do not change this comment) */ | ||
diff --git a/src/sysdep.c b/src/sysdep.c index 798cd3b2108..01126c4907e 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -3205,16 +3205,6 @@ get_random () | |||
| 3205 | return val & ((1L << VALBITS) - 1); | 3205 | return val & ((1L << VALBITS) - 1); |
| 3206 | } | 3206 | } |
| 3207 | 3207 | ||
| 3208 | #ifdef WRONG_NAME_INSQUE | ||
| 3209 | |||
| 3210 | insque (q,p) | ||
| 3211 | caddr_t q,p; | ||
| 3212 | { | ||
| 3213 | _insque (q,p); | ||
| 3214 | } | ||
| 3215 | |||
| 3216 | #endif | ||
| 3217 | |||
| 3218 | #ifdef VMS | 3208 | #ifdef VMS |
| 3219 | 3209 | ||
| 3220 | #ifdef getenv | 3210 | #ifdef getenv |