diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-20 13:03:56 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-20 13:03:56 +0000 |
commit | 89f1e540e1bbee8224fa3e5fddbc92cc44d657c1 (patch) | |
tree | 5e6629717aac76f425718f331b75e9b9814aba5d /src/s | |
parent | 697baba53198bd8c6ab0e063b1941aac44e751bc (diff) | |
download | emacs-89f1e540e1bbee8224fa3e5fddbc92cc44d657c1.tar.gz |
* 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.h | 1 | ||||
-rw-r--r-- | src/s/freebsd.h | 4 | ||||
-rw-r--r-- | src/s/gnu-linux.h | 4 | ||||
-rw-r--r-- | src/s/gnu.h | 1 | ||||
-rw-r--r-- | src/s/hpux10-20.h | 4 | ||||
-rw-r--r-- | src/s/irix6-5.h | 23 | ||||
-rw-r--r-- | src/s/lynxos.h | 1 | ||||
-rw-r--r-- | src/s/netbsd.h | 6 | ||||
-rw-r--r-- | src/s/sol2.h | 1 | ||||
-rw-r--r-- | src/s/usg5-4-2.h | 1 | ||||
-rw-r--r-- | src/s/usg5-4.h | 4 |
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/>. */ #define CYGWIN 1 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) -#define GETPGRP_NO_ARG 1 #define SYSV_SYSTEM_DIR 1 #define UNEXEC unexcw.o #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/>. */ /* freebsd has POSIX-style pgrp behavior. */ #undef BSD_PGRPS -#define GETPGRP_NO_ARG #ifdef __ELF__ @@ -90,9 +89,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define RUN_TIME_REMAP #define LIB_GCC -lgcc -#ifndef N_TRELOFF -#define N_TRELOFF(x) N_RELOFF(x) -#endif #else /* NO_SHARED_LIBS */ #ifdef __FreeBSD__ /* shared libs are available, but the user prefers 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/>. */ #define INTERRUPT_INPUT #endif -/* This is needed for sysdep.c */ - -#define NO_SIOCTL_H /* don't have sioctl.h */ - #define SYSV_SYSTEM_DIR /* use dirent.h */ #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/>. */ /* GNU has POSIX-style pgrp behavior. */ #undef BSD_PGRPS -#define GETPGRP_NO_ARG /* Use mmap directly for allocating larger buffers. */ #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/>. */ conflicting -a. */ #define LD_SWITCH_SYSTEM_TEMACS -/* Some hpux 8 machines seem to have TIOCGWINSZ, - and none have sioctl.h, so might as well define this. */ -#define NO_SIOCTL_H - #ifndef HAVE_LIBXMU /* HP-UX doesn't supply Xmu. */ #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/>. */ #define SETPGRP_RELEASES_CTTY -#ifdef LIBS_SYSTEM -#undef LIBS_SYSTEM -#endif - #ifdef LIB_STANDARD #undef LIB_STANDARD #endif @@ -49,13 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* Make process_send_signal work by "typing" a signal character on the pty. */ #define SIGNALS_VIA_CHARACTERS -/* SGI has all the fancy wait stuff, but we can't include sys/wait.h - because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead - we'll just define WNOHANG right here. - (An implicit decl is good enough for wait3.) */ - -/* #define WNOHANG 0x1 */ - /* No need to use sprintf to get the tty name--we get that from _getpty. */ #ifdef PTY_TTY_NAME_SPRINTF #undef PTY_TTY_NAME_SPRINTF @@ -95,9 +84,6 @@ char *_getpty(); throughout. */ #define POSIX_SIGNALS -/* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */ -#define GETPGRP_NO_ARG - /* Ulimit(UL_GMEMLIM) is busted... */ #define ULIMIT_BREAK_VALUE 0x14000000 @@ -111,14 +97,6 @@ char *_getpty(); #define MAIL_USE_FLOCK -/* -g used not to work on Irix unless you used gas, and since gcc - warns if you use it, turn off the warning. */ -/* -g does now work, at least on recent Irix 6 versions with gcc 2.95; - I'm not sure about Irix 5 -- fx */ -#ifdef __GNUC__ -#define C_DEBUG_SWITCH -#endif - #define NARROWPROTO 1 #define USE_MMAP_FOR_BUFFERS 1 @@ -134,7 +112,6 @@ char *_getpty(); /* The only supported 32-bit configuration of GCC under IRIX6.x produces n32 MIPS ABI binaries and also supports -g. */ #ifdef __GNUC__ -#undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH -g #else /* 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/>. */ #define LDAV_SYMBOL "load_average" /* misc defines */ -#define GETPGRP_NO_ARG #define LNOFLSH 0 /* 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/>. */ /* Netbsd has POSIX-style pgrp behavior. */ #undef BSD_PGRPS -#define GETPGRP_NO_ARG - #if !defined (NO_SHARED_LIBS) && ! defined (__ELF__) /* These definitions should work for either dynamic or static linking, whichever is the default for `cc -nostdlib'. */ @@ -68,10 +66,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define UNEXEC unexsunos4.o #define RUN_TIME_REMAP -/* Try to make this work for both 0.9 and >0.9. */ -#ifndef N_TRELOFF -#define N_TRELOFF(x) N_RELOFF(x) -#endif #endif /* not NO_SHARED_LIBS and not ELF */ #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/>. */ #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` #endif /* GCC */ -#undef LIBS_SYSTEM #define LIBS_SYSTEM -lsocket -lnsl -lkstat /* 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/>. */ #undef HAVE_SYSV_SIGPAUSE /* Motif needs -lgen. */ -#undef LIBS_SYSTEM #define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen /* 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/>. */ So give it a try. */ #define HAVE_SOCKETS -/* Markus Weiand <weiand@khof.com> says this is needed for Motif on - SINIX. */ -#define LIBS_SYSTEM -lgen - /* arch-tag: 1a0ed909-5faa-434b-b7c3-9d86c63d53a6 (do not change this comment) */ |