annotate src/s/msdos.h @ 132:757f1c4d15f7 xemacs-20-1

Added tag xemacs-20-1p4 for changeset 869e1851236b
author cvs
date Mon, 13 Aug 2007 09:29:09 +0200
parents 376386a54a3c
children 0132846995bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* System description file for MS-DOS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Copyright (C) 1993 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 /* Note: lots of stuff here was taken from s-msdos.h in demacs. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 * Define symbols to identify the version of Unix this is.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 * Define all the symbols that apply correctly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 /* #define UNIPLUS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 /* #define USG5 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 /* #define USG */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 /* #define HPUX */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 /* #define UMAX */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 /* #define BSD4_1 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 /* #define BSD4_2 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 /* #define BSD4_3 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 /* #define BSD */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 /* #define VMS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #ifndef MSDOS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #define MSDOS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 #ifdef __GO32__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #ifndef __DJGPP__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define __DJGPP__ 1 /* V2 defines __DJGPP__ == 2 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 You lose; /* Emacs for DOS must be compiled with DJGPP */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 #define DOS_NT /* MSDOS or WINDOWSNT */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 #undef BSD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 #undef VMS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 /* SYSTEM_TYPE should indicate the kind of system you are using.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 It sets the Lisp variable system-type. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 #define SYSTEM_TYPE "ms-dos"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 #define SYMS_SYSTEM syms_of_dosfns();syms_of_msdos()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 /* Letter to use in finding device name of first pty,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 if system supports pty's. 'a' means it is /dev/ptya0 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 /* #define FIRST_PTY_LETTER 'a' */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 * Define HAVE_PTYS if the system supports pty devices.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 /* #define HAVE_PTYS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 /* MSDOS has dirent.h but doesn't behave otherwise like the SYSV
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 directory functions. We have special tests for this in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 sysdir.h. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 #undef SYSV_SYSTEM_DIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 /* Define this is the compiler understands `volatile'. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 #define HAVE_VOLATILE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 #define NO_SUBPROCESSES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 /* If your system uses COFF (Common Object File Format) then define the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 preprocessor symbol "COFF". */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 #define COFF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 /* define MAIL_USE_FLOCK if the mailer uses flock
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 to interlock access to /usr/spool/mail/$USER.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 The alternative is that a lock file named
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 /usr/spool/mail/$USER.lock. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 /* #define MAIL_USE_FLOCK */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 /* Here, on a separate page, add any special hacks needed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 to make Emacs work on this system. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 you might define certain system call names that don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 exist on your system, or that do different things on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 your system and must be used only through an encapsulation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 (Which you should place, by convention, in sysdep.c). */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 /* Avoid incompatibilities between gmalloc.c and system header files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 in how to declare valloc. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 #define GMALLOC_INHIBIT_VALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 /* setjmp and longjmp can safely replace _setjmp and _longjmp,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 but they will run slower. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 #define _setjmp setjmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 #define _longjmp longjmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 #if __DJGPP__ < 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 #define NO_MODE_T
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 /* New chdir () routine.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 DJGPP v2.0 and later doesn't need it because its chdir() does
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 set the drive itself. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 #ifdef chdir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 #undef chdir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 #define chdir sys_chdir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 #define LIBS_SYSTEM -lpc /* isn't required in DJGPP v2.0, either */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 #endif /* __DJGPP__ < 2 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 #if __DJGPP__ > 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 #define DATA_START (&etext + 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 #define TEXT_START &start
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 #define TEXT_END &etext
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 #define _NAIVE_DOS_REGS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 #else /* not __DJGPP__ > 1 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 /* This somehow needs to be defined even though we use COFF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 #define TEXT_START -1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 #endif /* not __DJGPP__ > 1 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 #define ORDINARY_LINK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 /* command.com does not understand `...` so we define this. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 #define LIB_GCC -Lgcc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 #define DONT_NEED_ENVIRON
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 #define SEPCHAR ';'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 #define NULL_DEVICE "nul"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 #define EXEC_SUFFIXES ".exe:.com:.bat:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 #if __DJGPP__ < 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 #define O_RDONLY 0x0001
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 #define O_WRONLY 0x0002
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 #define O_RDWR 0x0004
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 #define O_CREAT 0x0100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 #define O_TRUNC 0x0200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 #define O_EXCL 0x0400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 #define O_APPEND 0x0800
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 #define O_TEXT 0x4000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 #define O_BINARY 0x8000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 #define NO_MATHERR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 #define HAVE_INVERSE_HYPERBOLIC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 #define FLOAT_CHECK_DOMAIN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 /* When $TERM is "internal" then this is substituted: */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 #define INTERNAL_TERMINAL "pc|bios|IBM PC with colour display:\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 :co#80:li#25:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 /* Define this to a function (Fdowncase, Fupcase) if your file system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 likes that */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 #define FILE_SYSTEM_CASE Fmsdos_downcase_filename
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 /* Define this to be the separator between devices and paths */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 #define DEVICE_SEP ':'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 /* We'll support either convention on MSDOG. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 #define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\')
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 /* Call init_gettimeofday when TZ changes. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 #if __DJGPP__ < 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 #define LOCALTIME_CACHE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 #define tzset init_gettimeofday
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 /* bcopy under djgpp is quite safe */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 #define GAP_USE_BCOPY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 #define BCOPY_UPWARD_SAFE 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 #define BCOPY_DOWNWARD_SAFE 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 /* Mode line description of a buffer's type. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 #define MODE_LINE_BINARY_TEXT(buf) (NILP(buf->buffer_file_type) ? "T" : "B")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 /* Do we have POSIX signals? */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 #if __DJGPP__ > 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 #define POSIX_SIGNALS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 /* We have (the code to control) a mouse. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 #define HAVE_MOUSE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 /* We canuse mouse menus. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 #define HAVE_MENUS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 /* We have support for faces. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 #define HAVE_FACES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 /* Define one of these for easier conditionals. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 #ifdef HAVE_X_WINDOWS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 /* We need a little extra space, see ../../lisp/loadup.el */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 #define SYSTEM_PURESIZE_EXTRA 15000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 #define HAVE_X11R5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 #define LIBX11_SYSTEM -lxext -lsys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 /* We need a little extra space, see ../../lisp/loadup.el */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 #define SYSTEM_PURESIZE_EXTRA 85000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 #endif