1 /* Definitions file for GNU Emacs running on bsd 4.3 2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. 3 4 This file is part of GNU Emacs. 5 6 GNU Emacs is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 1, or (at your option) 9 any later version. 10 11 GNU Emacs is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GNU Emacs; see the file COPYING. If not, write to 18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 20 21 /* This is brutal but we must get BIG_ENDIAN/LITTLE_ENDIAN defined now 22 so we can be careful not to override the value in the m- file. 23 Defining BIG_ENDIAN/LITTLE_ENDIAN with no value in that file will 24 break, e.g. sys/wait.h. */ 25 #ifndef YMAKEFILE 26 #include <machine/endian.h> 27 #endif 28 29 /* 30 * Define symbols to identify the version of Unix this is. 31 * Define all the symbols that apply correctly. 32 */ 33 34 #ifndef BSD4_4 35 #define BSD4_4 1 36 #endif /* BSD4_4 */ 37 38 #ifndef BSD4_3 39 #define BSD4_3 40 #endif /* BSD4_3 */ 41 42 #ifndef BSD 43 #define BSD 44 #endif /* BSD */ 45 46 /* SYSTEM_TYPE should indicate the kind of system you are using. 47 It sets the Lisp variable system-type. */ 48 49 #define SYSTEM_TYPE "berkeley-unix" 50 51 /* nomultiplejobs should be defined if your system's shell 52 does not have "job control" (the ability to stop a program, 53 run some other program, then continue the first one). */ 54 55 /* #define NOMULTIPLEJOBS */ 56 57 /* Do not use interrupt_input = 1 by default, because in 4.3 58 we can make noninterrupt input work properly. */ 59 60 #undef INTERRUPT_INPUT 61 62 /* First pty name is /dev/ptyp0. */ 63 64 #define FIRST_PTY_LETTER 'p' 65 /* 66 * Define HAVE_TIMEVAL if the system supports the BSD style clock values. 67 * Look in <sys/time.h> for a timeval structure. 68 */ 69 70 #define HAVE_TIMEVAL 71 72 /* 73 * Define HAVE_SELECT if the system supports the `select' system call. 74 */ 75 76 #define HAVE_SELECT 77 78 /* 79 * Define HAVE_PTYS if the system supports pty devices. 80 */ 81 82 #define HAVE_PTYS 83 84 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 85 86 #define HAVE_SOCKETS 87 88 /* 89 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate 90 * The 4.2 opendir, etc., library functions. 91 */ 92 93 /* #define NONSYSTEM_DIR_LIBRARY */ 94 95 /* Define this symbol if your system has the functions bcopy, etc. */ 96 97 #define BSTRING 98 99 /* subprocesses should be defined if you want to 100 have code for asynchronous subprocesses 101 (as used in M-x compile and M-x shell). 102 This is generally OS dependent, and not supported 103 under most USG systems. */ 104 105 #define subprocesses 106 107 /* If your system uses COFF (Common Object File Format) then define the 108 preprocessor symbol "COFF". */ 109 110 /* #define COFF */ 111 112 /* define MAIL_USE_FLOCK if the mailer uses flock 113 to interlock access to /usr/spool/mail/$USER. 114 The alternative is that a lock file named 115 /usr/spool/mail/$USER.lock. */ 116 117 #define MAIL_USE_FLOCK 118 119 /* Define CLASH_DETECTION if you want lock files to be written 120 so that Emacs can tell instantly when you try to modify 121 a file that someone else has modified in his Emacs. */ 122 123 #define CLASH_DETECTION 124 125 /* We use the Berkeley (and usg5.2.2) interface to nlist. */ 126 127 #define NLIST_STRUCT 128 129 /* The file containing the kernel's symbol table is called /vmunix. */ 130 131 #define KERNEL_FILE "/vmunix" 132 133 /* The symbol in the kernel where the load average is found 134 is named _avenrun. */ 135 136 #define LDAV_SYMBOL "_avenrun" 137 138 /* This macro determines the number of bytes waiting to be written 139 in a FILE buffer. */ 140 141 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_w - (FILE)->_bf._size) 142 143 /* Have POSIX setsid(). */ 144 145 #define HAVE_SETSID 146 147 /* Have BSD getloadavg() library routine. */ 148 149 #define HAVE_GETLOADAVG 150 151 /* Use dkstat.h in loadst. */ 152 153 #define DKSTAT_HEADER_FILE 154 155 /* No special libg for debugging. */ 156 157 #define LIBS_DEBUG 158 159 /* Debugging unexec()ed code is hard enough as is, so why 160 not make it a little harder. */ 161 162 #define C_DEBUG_SWITCH -g -traditional -O2 163