159808Shibler /* Definitions file for GNU Emacs running on bsd 4.3
259808Shibler    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
359808Shibler 
459808Shibler This file is part of GNU Emacs.
559808Shibler 
659808Shibler GNU Emacs is free software; you can redistribute it and/or modify
759808Shibler it under the terms of the GNU General Public License as published by
859808Shibler the Free Software Foundation; either version 1, or (at your option)
959808Shibler any later version.
1059808Shibler 
1159808Shibler GNU Emacs is distributed in the hope that it will be useful,
1259808Shibler but WITHOUT ANY WARRANTY; without even the implied warranty of
1359808Shibler MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1459808Shibler GNU General Public License for more details.
1559808Shibler 
1659808Shibler You should have received a copy of the GNU General Public License
1759808Shibler along with GNU Emacs; see the file COPYING.  If not, write to
1859808Shibler the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
1959808Shibler 
2059808Shibler 
21*60297Shibler /* This is brutal but we must get BIG_ENDIAN/LITTLE_ENDIAN defined now
22*60297Shibler    so we can be careful not to override the value in the m- file.
23*60297Shibler    Defining BIG_ENDIAN/LITTLE_ENDIAN with no value in that file will
24*60297Shibler    break, e.g. sys/wait.h.  */
25*60297Shibler #ifndef YMAKEFILE
26*60297Shibler #include <machine/endian.h>
27*60297Shibler #endif
28*60297Shibler 
2959808Shibler /*
3059808Shibler  *	Define symbols to identify the version of Unix this is.
3159808Shibler  *	Define all the symbols that apply correctly.
3259808Shibler  */
3359808Shibler 
3459808Shibler #ifndef BSD4_4
35*60297Shibler #define BSD4_4	1
3659808Shibler #endif /* BSD4_4 */
3759808Shibler 
3859808Shibler #ifndef BSD4_3
3959808Shibler #define BSD4_3
4059808Shibler #endif /* BSD4_3 */
4159808Shibler 
4259808Shibler #ifndef BSD
4359808Shibler #define BSD
4459808Shibler #endif /* BSD */
4559808Shibler 
4659808Shibler /* SYSTEM_TYPE should indicate the kind of system you are using.
4759808Shibler  It sets the Lisp variable system-type.  */
4859808Shibler 
4959808Shibler #define SYSTEM_TYPE "berkeley-unix"
5059808Shibler 
5159808Shibler /* nomultiplejobs should be defined if your system's shell
5259808Shibler  does not have "job control" (the ability to stop a program,
5359808Shibler  run some other program, then continue the first one).  */
5459808Shibler 
5559808Shibler /* #define NOMULTIPLEJOBS */
5659808Shibler 
5759808Shibler /* Do not use interrupt_input = 1 by default, because in 4.3
5859808Shibler    we can make noninterrupt input work properly.  */
5959808Shibler 
6059808Shibler #undef INTERRUPT_INPUT
6159808Shibler 
6259808Shibler /* First pty name is /dev/ptyp0.  */
6359808Shibler 
6459808Shibler #define FIRST_PTY_LETTER 'p'
6559808Shibler /*
6659808Shibler  *	Define HAVE_TIMEVAL if the system supports the BSD style clock values.
6759808Shibler  *	Look in <sys/time.h> for a timeval structure.
6859808Shibler  */
6959808Shibler 
7059808Shibler #define HAVE_TIMEVAL
7159808Shibler 
7259808Shibler /*
7359808Shibler  *	Define HAVE_SELECT if the system supports the `select' system call.
7459808Shibler  */
7559808Shibler 
7659808Shibler #define HAVE_SELECT
7759808Shibler 
7859808Shibler /*
7959808Shibler  *	Define HAVE_PTYS if the system supports pty devices.
8059808Shibler  */
8159808Shibler 
8259808Shibler #define HAVE_PTYS
8359808Shibler 
8459808Shibler /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
8559808Shibler 
8659808Shibler #define HAVE_SOCKETS
8759808Shibler 
8859808Shibler /*
8959808Shibler  *	Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
9059808Shibler  *      The 4.2 opendir, etc., library functions.
9159808Shibler  */
9259808Shibler 
9359808Shibler /* #define NONSYSTEM_DIR_LIBRARY */
9459808Shibler 
9559808Shibler /* Define this symbol if your system has the functions bcopy, etc. */
9659808Shibler 
9759808Shibler #define BSTRING
9859808Shibler 
9959808Shibler /* subprocesses should be defined if you want to
10059808Shibler    have code for asynchronous subprocesses
10159808Shibler    (as used in M-x compile and M-x shell).
10259808Shibler    This is generally OS dependent, and not supported
10359808Shibler    under most USG systems. */
10459808Shibler 
10559808Shibler #define subprocesses
10659808Shibler 
10759808Shibler /* If your system uses COFF (Common Object File Format) then define the
10859808Shibler    preprocessor symbol "COFF". */
10959808Shibler 
11059808Shibler /* #define COFF */
11159808Shibler 
11259808Shibler /* define MAIL_USE_FLOCK if the mailer uses flock
11359808Shibler    to interlock access to /usr/spool/mail/$USER.
11459808Shibler    The alternative is that a lock file named
11559808Shibler    /usr/spool/mail/$USER.lock.  */
11659808Shibler 
11759808Shibler #define MAIL_USE_FLOCK
11859808Shibler 
11959808Shibler /* Define CLASH_DETECTION if you want lock files to be written
12059808Shibler    so that Emacs can tell instantly when you try to modify
12159808Shibler    a file that someone else has modified in his Emacs.  */
12259808Shibler 
12359808Shibler #define CLASH_DETECTION
12459808Shibler 
12559808Shibler /* We use the Berkeley (and usg5.2.2) interface to nlist.  */
12659808Shibler 
12759808Shibler #define NLIST_STRUCT
12859808Shibler 
12959808Shibler /* The file containing the kernel's symbol table is called /vmunix.  */
13059808Shibler 
13159808Shibler #define KERNEL_FILE "/vmunix"
13259808Shibler 
13359808Shibler /* The symbol in the kernel where the load average is found
13459808Shibler    is named _avenrun.  */
13559808Shibler 
13659808Shibler #define LDAV_SYMBOL "_avenrun"
137*60297Shibler 
138*60297Shibler /* This macro determines the number of bytes waiting to be written
139*60297Shibler    in a FILE buffer.  */
140*60297Shibler 
141*60297Shibler #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_w - (FILE)->_bf._size)
142*60297Shibler 
143*60297Shibler /* Have POSIX setsid().  */
144*60297Shibler 
145*60297Shibler #define HAVE_SETSID
146*60297Shibler 
147*60297Shibler /* Have BSD getloadavg() library routine.  */
148*60297Shibler 
149*60297Shibler #define HAVE_GETLOADAVG
150*60297Shibler 
151*60297Shibler /* Use dkstat.h in loadst.  */
152*60297Shibler 
153*60297Shibler #define DKSTAT_HEADER_FILE
154*60297Shibler 
155*60297Shibler /* No special libg for debugging.  */
156*60297Shibler 
157*60297Shibler #define LIBS_DEBUG
158*60297Shibler 
159*60297Shibler /* Debugging unexec()ed code is hard enough as is, so why
160*60297Shibler    not make it a little harder.  */
161*60297Shibler 
162*60297Shibler #define C_DEBUG_SWITCH -g -traditional -O2
163