Commit 89f1e540 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* 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.
parent 697baba5
......@@ -53,7 +53,6 @@ SYSTEM_MALLOC Use the system library's malloc.
ADDR_CORRECT
ADJUST_EXEC_HEADER
AIX
AMPERSAND_FULL_NAME
A_TEXT_OFFSET
......@@ -116,7 +115,6 @@ GC_LISP_OBJECT_ALIGNMENT
GC_MARK_SECONDARY_STACK
GC_MARK_STACK
GC_SETJMP_WORKS
GETPGRP_NO_ARG
GMALLOC_INHIBIT_VALLOC
GNU_LIBRARY_PENDING_OUTPUT_COUNT
GNU_LINUX
......@@ -225,7 +223,6 @@ LD_SWITCH_SYSTEM_1
LD_SWITCH_SYSTEM_TEMACS
LD_SWITCH_SYSTEM_tmp
LD_SWITCH_X_DEFAULT
LIBS_CARBON
LIBS_DEBUG
LIBS_IMAGE
LIBS_MACHINE
......@@ -273,15 +270,12 @@ NO_HYPHENS_IN_FILENAMES
NO_MATHERR
NO_REMAP
NO_SHARED_LIBS
NO_SIOCTL_H
NO_SOCK_SIGIO
NO_TERMIO
NSIG
NSIG_MINIMUM
NULL
NULL_DEVICE
N_BADMAG
N_TRELOFF
N_TXTOFF
ORDINARY_LINK
OTHER_FILES
......@@ -296,7 +290,6 @@ O_TRUNC
O_WRONLY
PAGESIZE
PENDING_OUTPUT_COUNT
PNTR_COMPARISON_TYPE
POSIX
POSIX_SIGNALS
PREFER_VSUSP
......@@ -305,7 +298,6 @@ PTY_NAME_SPRINTF
PTY_OPEN
PTY_TTY_NAME_SPRINTF
PURESIZE
PURE_SEG_BITS
RUN_TIME_REMAP
SA_RESTART
SECTION_ALIGNMENT
......@@ -331,7 +323,6 @@ SYMS_SYSTEM
SYSTEM_PURESIZE_EXTRA
SYSTEM_TYPE
SYSV_SYSTEM_DIR
S_IFLNK
Srandom
TAB3
TABDLY
......
2008-07-20 Dan Nicolaescu <dann@ics.uci.edu>
* 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.
2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
* font.c (font_open_by_name): Under NS, default lface height to zero.
......
......@@ -57,36 +57,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define VIRT_ADDR_VARIES
/* Define NO_REMAP if memory segmentation makes it not work well
to change the boundary between the text section and data section
when Emacs is dumped. If you define this, the preloaded Lisp
code will not be sharable; but that's better than failing completely. */
/*#define NO_REMAP */
/* Some really obscure 4.2-based systems (like Sequent DYNIX)
* do not support asynchronous I/O (using SIGIO) on sockets,
* even though it works fine on tty's. If you have one of
* these systems, define the following, and then use it in
* config.h (or elsewhere) to decide when (not) to use SIGIO.
*
* You'd think this would go in an operating-system description file,
* but since it only occurs on some, but not all, BSD systems, the
* reasonable place to select for it is in the machine description
* file.
*/
/*#define NO_SOCK_SIGIO*/
/* After adding support for a new system, modify the large case
statement in the `configure' script to recognize reasonable
configuration names, and add a description of the system to
`etc/MACHINES'.
If you've just fixed a problem in an existing configuration file,
you should also check `etc/MACHINES' to make sure its descriptions
of known problems in that configuration should be updated. */
/* arch-tag: d8a0ffa4-a8f0-4736-90d3-7fd7b21b8314
(do not change this comment) */
......@@ -2785,9 +2785,7 @@ usage: (serial-process-configure &rest ARGS) */)
UNGCPRO;
return Qnil;
}
#endif /* HAVE_SERIAL */
#ifdef HAVE_SERIAL
/* Used by make-serial-process to recover from errors. */
Lisp_Object make_serial_process_unwind (Lisp_Object proc)
{
......@@ -2796,9 +2794,7 @@ Lisp_Object make_serial_process_unwind (Lisp_Object proc)
remove_process (proc);
return Qnil;
}
#endif /* HAVE_SERIAL */
#ifdef HAVE_SERIAL
DEFUN ("make-serial-process", Fmake_serial_process, Smake_serial_process,
0, MANY, 0,
doc: /* Create and return a serial port process.
......@@ -4912,19 +4908,6 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
IF_NON_BLOCKING_CONNECT (check_connect = 0);
}
#if defined(sun) && !defined(USG5_4)
if (nfds > 0 && keyboard_bit_set (&Available)
&& interrupt_input)
/* System sometimes fails to deliver SIGIO.
David J. Mackenzie says that Emacs doesn't compile under
Solaris if this code is enabled, thus the USG5_4 in the CPP
conditional. "I haven't noticed any ill effects so far.
If you find a Solaris expert somewhere, they might know
better." */
kill (getpid (), SIGIO);
#endif
#if 0 /* When polling is used, interrupt_input is 0,
so get_input_pending should read the input.
So this should not be needed. */
......@@ -7704,7 +7687,7 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
else
error ("select error: %s", emacs_strerror (xerrno));
}
#ifdef sun
#ifdef SOLARIS2
else if (nfds > 0 && (waitchannels & 1) && interrupt_input)
/* System sometimes fails to deliver SIGIO. */
kill (getpid (), SIGIO);
......
......@@ -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
......
......@@ -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. */
......
......@@ -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 */
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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 */
......
......@@ -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__)
......
......@@ -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.
......
......@@ -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
......
......@@ -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) */
......@@ -3295,7 +3295,7 @@ closedir (dirp)
/* Some systems (like Solaris) allocate the buffer and the DIR all
in one block. Why in the world are we freeing this ourselves
anyway? */
#if ! (defined (sun) && defined (USG5_4))
#if ! defined (SOLARIS2)
xfree ((char *) dirp->dd_buf); /* directory block defined in <dirent.h> */
#endif
xfree ((char *) dirp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment