aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-20 13:03:56 +0000
committerDan Nicolaescu2008-07-20 13:03:56 +0000
commit89f1e540e1bbee8224fa3e5fddbc92cc44d657c1 (patch)
tree5e6629717aac76f425718f331b75e9b9814aba5d /src/s
parent697baba53198bd8c6ab0e063b1941aac44e751bc (diff)
downloademacs-89f1e540e1bbee8224fa3e5fddbc92cc44d657c1.tar.gz
emacs-89f1e540e1bbee8224fa3e5fddbc92cc44d657c1.zip
* s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was
added not supported anymore. * s/usg5-4-2.h (LIBS_SYSTEM): * s/sol2.h (LIBS_SYSTEM): Do not undefine. * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/lynxos.h (GETPGRP_NO_ARG): * s/hpux10-20.h (NO_SIOCTL_H): * s/gnu.h (GETPGRP_NO_ARG): * s/gnu-linux.h (NO_SIOCTL_H): * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/cygwin.h (GETPGRP_NO_ARG): * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. (C_DEBUG_SWITCH): Remove duplicate definition. * m/ibms390.h: Remove boilerplate comments. * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. * process.c (HAVE_SERIAL): Consolidate ifdefs. (wait_reading_process_output): Remove code for SunOS, platform not supported anymore. Use SOLARIS2 instead of sun.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/cygwin.h1
-rw-r--r--src/s/freebsd.h4
-rw-r--r--src/s/gnu-linux.h4
-rw-r--r--src/s/gnu.h1
-rw-r--r--src/s/hpux10-20.h4
-rw-r--r--src/s/irix6-5.h23
-rw-r--r--src/s/lynxos.h1
-rw-r--r--src/s/netbsd.h6
-rw-r--r--src/s/sol2.h1
-rw-r--r--src/s/usg5-4-2.h1
-rw-r--r--src/s/usg5-4.h4
11 files changed, 0 insertions, 50 deletions
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index b1172e622b3..fd13112730c 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -110,7 +110,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
110#define CYGWIN 1 110#define CYGWIN 1
111 111
112#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 112#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
113#define GETPGRP_NO_ARG 1
114#define SYSV_SYSTEM_DIR 1 113#define SYSV_SYSTEM_DIR 1
115#define UNEXEC unexcw.o 114#define UNEXEC unexcw.o
116#define POSIX_SIGNALS 1 115#define POSIX_SIGNALS 1
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 79ecaeba0d3..ca183b57ff1 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -65,7 +65,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
65 65
66/* freebsd has POSIX-style pgrp behavior. */ 66/* freebsd has POSIX-style pgrp behavior. */
67#undef BSD_PGRPS 67#undef BSD_PGRPS
68#define GETPGRP_NO_ARG
69 68
70#ifdef __ELF__ 69#ifdef __ELF__
71 70
@@ -90,9 +89,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
90#define RUN_TIME_REMAP 89#define RUN_TIME_REMAP
91#define LIB_GCC -lgcc 90#define LIB_GCC -lgcc
92 91
93#ifndef N_TRELOFF
94#define N_TRELOFF(x) N_RELOFF(x)
95#endif
96#else /* NO_SHARED_LIBS */ 92#else /* NO_SHARED_LIBS */
97#ifdef __FreeBSD__ /* shared libs are available, but the user prefers 93#ifdef __FreeBSD__ /* shared libs are available, but the user prefers
98 not to use them. */ 94 not to use them. */
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index b21a84b5e34..7501cd602f3 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -190,10 +190,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
190#define INTERRUPT_INPUT 190#define INTERRUPT_INPUT
191#endif 191#endif
192 192
193/* This is needed for sysdep.c */
194
195#define NO_SIOCTL_H /* don't have sioctl.h */
196
197#define SYSV_SYSTEM_DIR /* use dirent.h */ 193#define SYSV_SYSTEM_DIR /* use dirent.h */
198 194
199#define POSIX /* affects getpagesize.h and systty.h */ 195#define POSIX /* affects getpagesize.h and systty.h */
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 8192ea1cbf2..931d7db2ffd 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -53,7 +53,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
53 53
54/* GNU has POSIX-style pgrp behavior. */ 54/* GNU has POSIX-style pgrp behavior. */
55#undef BSD_PGRPS 55#undef BSD_PGRPS
56#define GETPGRP_NO_ARG
57 56
58/* Use mmap directly for allocating larger buffers. */ 57/* Use mmap directly for allocating larger buffers. */
59#ifdef DOUG_LEA_MALLOC 58#ifdef DOUG_LEA_MALLOC
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 45242c6862b..201f4f4ca32 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -113,10 +113,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
113 conflicting -a. */ 113 conflicting -a. */
114#define LD_SWITCH_SYSTEM_TEMACS 114#define LD_SWITCH_SYSTEM_TEMACS
115 115
116/* Some hpux 8 machines seem to have TIOCGWINSZ,
117 and none have sioctl.h, so might as well define this. */
118#define NO_SIOCTL_H
119
120#ifndef HAVE_LIBXMU 116#ifndef HAVE_LIBXMU
121/* HP-UX doesn't supply Xmu. */ 117/* HP-UX doesn't supply Xmu. */
122#define LIBXMU 118#define LIBXMU
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 1ccaf432dac..0a7e2c70c6f 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -28,10 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 28
29#define SETPGRP_RELEASES_CTTY 29#define SETPGRP_RELEASES_CTTY
30 30
31#ifdef LIBS_SYSTEM
32#undef LIBS_SYSTEM
33#endif
34
35#ifdef LIB_STANDARD 31#ifdef LIB_STANDARD
36#undef LIB_STANDARD 32#undef LIB_STANDARD
37#endif 33#endif
@@ -49,13 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
49/* Make process_send_signal work by "typing" a signal character on the pty. */ 45/* Make process_send_signal work by "typing" a signal character on the pty. */
50#define SIGNALS_VIA_CHARACTERS 46#define SIGNALS_VIA_CHARACTERS
51 47
52/* SGI has all the fancy wait stuff, but we can't include sys/wait.h
53 because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead
54 we'll just define WNOHANG right here.
55 (An implicit decl is good enough for wait3.) */
56
57/* #define WNOHANG 0x1 */
58
59/* No need to use sprintf to get the tty name--we get that from _getpty. */ 48/* No need to use sprintf to get the tty name--we get that from _getpty. */
60#ifdef PTY_TTY_NAME_SPRINTF 49#ifdef PTY_TTY_NAME_SPRINTF
61#undef PTY_TTY_NAME_SPRINTF 50#undef PTY_TTY_NAME_SPRINTF
@@ -95,9 +84,6 @@ char *_getpty();
95 throughout. */ 84 throughout. */
96#define POSIX_SIGNALS 85#define POSIX_SIGNALS
97 86
98/* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */
99#define GETPGRP_NO_ARG
100
101/* Ulimit(UL_GMEMLIM) is busted... */ 87/* Ulimit(UL_GMEMLIM) is busted... */
102#define ULIMIT_BREAK_VALUE 0x14000000 88#define ULIMIT_BREAK_VALUE 0x14000000
103 89
@@ -111,14 +97,6 @@ char *_getpty();
111 97
112#define MAIL_USE_FLOCK 98#define MAIL_USE_FLOCK
113 99
114/* -g used not to work on Irix unless you used gas, and since gcc
115 warns if you use it, turn off the warning. */
116/* -g does now work, at least on recent Irix 6 versions with gcc 2.95;
117 I'm not sure about Irix 5 -- fx */
118#ifdef __GNUC__
119#define C_DEBUG_SWITCH
120#endif
121
122#define NARROWPROTO 1 100#define NARROWPROTO 1
123 101
124#define USE_MMAP_FOR_BUFFERS 1 102#define USE_MMAP_FOR_BUFFERS 1
@@ -134,7 +112,6 @@ char *_getpty();
134/* The only supported 32-bit configuration of GCC under IRIX6.x produces 112/* The only supported 32-bit configuration of GCC under IRIX6.x produces
135 n32 MIPS ABI binaries and also supports -g. */ 113 n32 MIPS ABI binaries and also supports -g. */
136#ifdef __GNUC__ 114#ifdef __GNUC__
137#undef C_DEBUG_SWITCH
138#define C_DEBUG_SWITCH -g 115#define C_DEBUG_SWITCH -g
139#else 116#else
140/* Optimize, inaccurate debugging, increase limit on size of what's 117/* Optimize, inaccurate debugging, increase limit on size of what's
diff --git a/src/s/lynxos.h b/src/s/lynxos.h
index 745c65f4ca6..d28a4ee688e 100644
--- a/src/s/lynxos.h
+++ b/src/s/lynxos.h
@@ -34,7 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34#define LDAV_SYMBOL "load_average" 34#define LDAV_SYMBOL "load_average"
35 35
36/* misc defines */ 36/* misc defines */
37#define GETPGRP_NO_ARG
38#define LNOFLSH 0 37#define LNOFLSH 0
39 38
40/* COFF related */ 39/* COFF related */
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 5a667e30d2d..2e0af41a2f6 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -58,8 +58,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
58/* Netbsd has POSIX-style pgrp behavior. */ 58/* Netbsd has POSIX-style pgrp behavior. */
59#undef BSD_PGRPS 59#undef BSD_PGRPS
60 60
61#define GETPGRP_NO_ARG
62
63#if !defined (NO_SHARED_LIBS) && ! defined (__ELF__) 61#if !defined (NO_SHARED_LIBS) && ! defined (__ELF__)
64/* These definitions should work for either dynamic or static linking, 62/* These definitions should work for either dynamic or static linking,
65 whichever is the default for `cc -nostdlib'. */ 63 whichever is the default for `cc -nostdlib'. */
@@ -68,10 +66,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
68#define UNEXEC unexsunos4.o 66#define UNEXEC unexsunos4.o
69#define RUN_TIME_REMAP 67#define RUN_TIME_REMAP
70 68
71/* Try to make this work for both 0.9 and >0.9. */
72#ifndef N_TRELOFF
73#define N_TRELOFF(x) N_RELOFF(x)
74#endif
75#endif /* not NO_SHARED_LIBS and not ELF */ 69#endif /* not NO_SHARED_LIBS and not ELF */
76 70
77#if !defined (NO_SHARED_LIBS) && defined (__ELF__) 71#if !defined (NO_SHARED_LIBS) && defined (__ELF__)
diff --git a/src/s/sol2.h b/src/s/sol2.h
index 1938fb6d865..bd6e1c9bdba 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -40,7 +40,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
40#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` 40#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
41#endif /* GCC */ 41#endif /* GCC */
42 42
43#undef LIBS_SYSTEM
44#define LIBS_SYSTEM -lsocket -lnsl -lkstat 43#define LIBS_SYSTEM -lsocket -lnsl -lkstat
45 44
46/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. 45/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
diff --git a/src/s/usg5-4-2.h b/src/s/usg5-4-2.h
index c6ee7ac5d32..46b350d6db9 100644
--- a/src/s/usg5-4-2.h
+++ b/src/s/usg5-4-2.h
@@ -34,7 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34#undef HAVE_SYSV_SIGPAUSE 34#undef HAVE_SYSV_SIGPAUSE
35 35
36/* Motif needs -lgen. */ 36/* Motif needs -lgen. */
37#undef LIBS_SYSTEM
38#define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen 37#define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen
39 38
40/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock 39/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index 4c2a59cc27d..9639d3be24c 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -222,9 +222,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
222 So give it a try. */ 222 So give it a try. */
223#define HAVE_SOCKETS 223#define HAVE_SOCKETS
224 224
225/* Markus Weiand <weiand@khof.com> says this is needed for Motif on
226 SINIX. */
227#define LIBS_SYSTEM -lgen
228
229/* arch-tag: 1a0ed909-5faa-434b-b7c3-9d86c63d53a6 225/* arch-tag: 1a0ed909-5faa-434b-b7c3-9d86c63d53a6
230 (do not change this comment) */ 226 (do not change this comment) */