view src/s/isc2-2.h @ 3782:5b61a650f347

Changes for correct pgrp behavior from Bob Glickstein <bobg@zindigo.z-code.com>: * m/iris4d.h (LIB_STANDARD): Do include -lbsd here. * s/irix4-0.h (USE_IRIX_BSDPGRP): #define this. (GETPGRP_NO_ARG): Don't #define this. * callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp instead of plain setpgrp. [USE_IRIX_BSDPGRP] (child_setup): Same. * emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses deleted; this flag isn't needed anymore. [USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and BSDgetpgrp instead of plain setpgrp and getpgrp. * process.c [USE_IRIX_BSDPGRP] (create_process): Don't call setpgrp before opening the tty. Call BSDsetpgrp instead of setpgrp, after opening the tty. * sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend, narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp and BSDsetpgrp instead of getpgrp and setpgrp.
author Jim Blandy <jimb@redhat.com>
date Wed, 16 Jun 1993 23:49:54 +0000
parents 571142b03bf4
children d7069bd44885
line wrap: on
line source

/* system description file for Interactive (ISC) Unix version 2.2 on
   the 386.  */

#include "usg5-3.h"

/* With this defined, subprocesses made by (e.g.) M-x grep don't exit
   cleanly, they just hang.  ISC 2.2.1 does have select, in the -linet
   library, but I guess it's not what Emacs needs.  --karl@cs.umb.edu
#define HAVE_SELECT */

/* Although ISC has sockets, again in -linet, again it's not what Emacs
   needs.  With this defined, interrupt-shell-subjob and the like do
   nothing.  --karl@cs.umb.edu
#define HAVE_SOCKETS */


/* This keeps the .cdbx section that gcc puts out when generating
   stabs-in-coff output, so Emacs can be debugged.  --karl@cs.umb.edu*/
#define USG_SHARED_LIBRARIES

/* We can support lock files.  */
#define CLASH_DETECTION
#define NO_FCHMOD

#define HAVE_PTYS
#define HAVE_CLOSEDIR
#define MAXNAMLEN 512
#define O_NDELAY O_NONBLOCK
#define MEMORY_IN_STRING_H

/* -lcposix is always needed for rename.  -lPW is only needed if not gcc.  */
#ifdef __GNUC__
#define LIB_STANDARD -lcposix -lc
#else
#define LIB_STANDARD -lPW -lcposix -lc
#endif

/* mt00@etherm.co.uk says this is needed for process.c.  */
#define USE_UTIME

#define NO_X_DESTROY_DATABASE

/* This communicates with m-intel386.h.  */
#define DONT_DEFINE_SIGNAL

/* May be needed to avoid undefined symbols such as gethostname,
   inet_addr, gethostbyname, socket, connect, ...  But if we are not
   compiling with X support, it's not needed.  */
#ifdef HAVE_X_WINDOWS
#define LIBS_SYSTEM -linet
#endif

/* This system has job control.  */
#undef NOMULTIPLEJOBS

/* Inhibit asm code in netinet/in.h.  Strictly speaking, only necessary
   when -traditional is being used, but it doesn't hurt to
   unconditionally define this.  */
#define NO_ASM

/* The POSIX-ified system headers don't work with GCC.  */
#ifdef __GNUC__
#define C_SWITCH_SYSTEM -traditional
#endif

/* Some versions of ISC are said to define S_IFLNK even tho
   they don't really support symlinks.  */
#undef S_IFLNK