Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
[bpt/emacs.git] / src / s / bsd-common.h
CommitLineData
20c428fd 1/* Definitions file for GNU Emacs running on bsd 4.3
7490175b
GM
2
3Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008, 2009, 2010 Free Software Foundation, Inc.
20c428fd
JB
5
6This file is part of GNU Emacs.
7
4b158629 8GNU Emacs is free software: you can redistribute it and/or modify
20c428fd 9it under the terms of the GNU General Public License as published by
4b158629
GM
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
20c428fd
JB
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
4b158629 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20c428fd
JB
20
21
7490175b
GM
22/* Define symbols to identify the version of Unix this is.
23 * Define all the symbols that apply correctly. */
20c428fd 24
ec558adc
JB
25/* We give these symbols the numeric values found in <sys/param.h> to
26 avoid warnings about redefined macros. */
20c428fd 27#ifndef BSD4_3
ec558adc 28#define BSD4_3 1
20c428fd
JB
29#endif /* BSD4_3 */
30
6df54671
KH
31#ifndef BSD_SYSTEM
32#define BSD_SYSTEM 43
33#endif /* BSD_SYSTEM */
20c428fd 34
05a670e6
DN
35/* For mem-limits.h. */
36#define BSD4_2
37
38#define TABDLY OXTABS
39#define TAB3 OXTABS
40
41/* These aren't needed, since we have getloadavg. */
42#undef KERNEL_FILE
43#undef LDAV_SYMBOL
44
45#define HAVE_TERMIOS
46#define NO_TERMIO
47
05a670e6
DN
48#define SYSV_SYSTEM_DIR
49
05a670e6
DN
50#define UNEXEC unexelf.o
51
52/* If the system's imake configuration file defines `NeedWidePrototypes'
53 as `NO', we must define NARROWPROTO manually. Such a define is
54 generated in the Makefile generated by `xmkmf'. If we don't
55 define NARROWPROTO, we will see the wrong function prototypes
56 for X functions taking float or double parameters. */
05a670e6
DN
57#define NARROWPROTO 1
58
20c428fd
JB
59/* SYSTEM_TYPE should indicate the kind of system you are using.
60 It sets the Lisp variable system-type. */
20c428fd
JB
61#define SYSTEM_TYPE "berkeley-unix"
62
20c428fd
JB
63/* Do not use interrupt_input = 1 by default, because in 4.3
64 we can make noninterrupt input work properly. */
20c428fd
JB
65#undef INTERRUPT_INPUT
66
67/* First pty name is /dev/ptyp0. */
20c428fd
JB
68#define FIRST_PTY_LETTER 'p'
69
7490175b 70/* Define HAVE_PTYS if the system supports pty devices. */
20c428fd
JB
71#define HAVE_PTYS
72
20c428fd 73/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
20c428fd
JB
74#define HAVE_SOCKETS
75
20c428fd 76/* Define this symbol if your system has the functions bcopy, etc. */
20c428fd
JB
77#define BSTRING
78
20c428fd
JB
79/* Define CLASH_DETECTION if you want lock files to be written
80 so that Emacs can tell instantly when you try to modify
81 a file that someone else has modified in his Emacs. */
20c428fd
JB
82#define CLASH_DETECTION
83
20c428fd 84/* The file containing the kernel's symbol table is called /vmunix. */
20c428fd
JB
85#define KERNEL_FILE "/vmunix"
86
87/* The symbol in the kernel where the load average is found
88 is named _avenrun. */
20c428fd 89#define LDAV_SYMBOL "_avenrun"
4968c102
JB
90
91/* Send signals to subprocesses by "typing" special chars at them. */
4968c102 92#define SIGNALS_VIA_CHARACTERS
651c847c 93
ab5796a9
MB
94/* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95
95 (do not change this comment) */