* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
[bpt/emacs.git] / admin / CPP-DEFINES
CommitLineData
aa5fea59
SM
1Here are some of the cpp macros used, together with some short explanation
2of their use. Feel free to add more macros and more categories.
3
4** Distinguishing OSes **
5
9536288f 6MAC_OS Compiling for the `mac' window-system.
04338634 7MAC_OS8 Compiling for Mac OS Classic (v8 or v9). No longer supported, all code using it can be removed.
9536288f 8MAC_OSX Compiling for Mac OS X. Not bare Darwin.
aa5fea59 9CYGWIN Compiling the Cygwin port.
077e3aa8
EZ
10__CYGWIN__ Ditto
11MSDOS Compiling the MS-DOS port.
12__MSDOS__ Ditto.
13__DJGPP__ Major version number of the DJGPP library for the DOS port.
14__DJGPP_MINOR__ Minor version number of the DJGPP library.
15__GO32__ Compiling the DOS port with DJGPP v1.x (obsolete).
16DOS_NT Compiling for either the MS-DOS or native MS-Windows port.
17WINDOWSNT Compiling the native MS-Windows (W32) port.
18__MINGW32__ Compiling the W32 port with the MinGW port of GCC.
19_MSC_VER Compiling the W32 port with the Microsoft C compiler.
aa5fea59
SM
20
21** Distinguishing GUIs **
22
077e3aa8 23HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars.
aa5fea59
SM
24HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
25HAVE_X11 Compile support for the X11 GUI.
077e3aa8 26HAVE_X_WINDOWS Compile support for X Window system
aa5fea59
SM
27X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
28USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
29USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
30USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.
31
077e3aa8
EZ
32** Frame types **
33
34FRAME_TERMCAP_P A tty (character terminal) frame.
35FRAME_X_P A frame on X Window system.
36FRAME_MSDOS_P An MS-DOS frame (used only by the DOS port).
37FRAME_MAC_P A Mac frame.
38FRAME_W32_P A frame using native MS-Windows GUI.
39FRAME_WINDOW_P A GUI frame (like X, w32, etc.)
40
41** Compile-time options **
42REL_ALLOC Compile in the relocatable memory allocator ralloc.c.
43SYSTEM_MALLOC Use the system library's malloc.
44
4624371d 45** Replace, the definition is trivial: SWITCH_ENUM_CAST
d35e1cd7 46
f3041af1 47** Temporarily put defines from removed files here, check if these macros need to be documented or removed because they are not used anymore. **
d35e1cd7 48
f3041af1 49ADDR_CORRECT
f3041af1
DN
50ADJUST_TEXTBASE
51ADJUST_TEXT_SCNHDR_SIZE
52A_TEXT_OFFSET
53A_TEXT_SEEK
54BAUD_CONVERT
55BROKEN_FIONREAD
f3041af1 56BROKEN_SIGIO
f3041af1
DN
57BROKEN_TIOCGETC
58BROKEN_TIOCGWINSZ
d35e1cd7 59BSD4_2
f3041af1
DN
60BSD4_3
61BSD4_4
d35e1cd7
DN
62BSD_PGRPS
63BSD_SYSTEM
64BSTRING
65CANNOT_DUMP
66CLASH_DETECTION
67COFF
f3041af1 68COFF_BSD_SYMBOLS
d35e1cd7 69CRT0_DUMMIES
f3041af1
DN
70C_DEBUG_SWITCH
71C_OPTIMIZE_SWITCH
f3041af1
DN
72C_SWITCH_MACHINE
73C_SWITCH_SYSTEM
74DATA_END
75DATA_SECTION_ALIGNMENT
76DATA_SEG_BITS
77DATA_START
78DEBUG
79DECLARE_GETPWUID_WITH_UID_T
80DEFAULT_ENTRY_ADDRESS
f3041af1
DN
81DOT_GLOBAL_START
82DUMMIES
f3041af1 83ELF
f3041af1 84EXEC_PAGESIZE
d35e1cd7
DN
85EXPLICIT_SIGN_EXTEND
86FIRST_PTY_LETTER
f3041af1 87FSCALE
f3041af1
DN
88GC_MARK_STACK
89GC_SETJMP_WORKS
90GETPGRP_NO_ARG
91GNU_MALLOC
92HAVE_ALLOCA
f3041af1
DN
93HAVE_CLOSEDIR
94HAVE_CONFIG_H
95HAVE_CRTN
96HAVE_GETTIMEOFDAY
97HAVE_INET_SOCKETS
98HAVE_LIBDNET
99HAVE_LIBINTL
100HAVE_LIBRESOLV
d35e1cd7 101HAVE_PTYS
f3041af1 102HAVE_SELECT
d35e1cd7
DN
103HAVE_SOCKETS
104HAVE_SYSVIPC
f3041af1
DN
105HAVE_SYSV_SIGPAUSE
106HAVE_SYS_WAIT_H
107HAVE_TCATTR
d35e1cd7 108HAVE_TERMIO
f3041af1
DN
109HAVE_TERMIOS
110HAVE_TEXT_START
d35e1cd7 111HAVE_UNION_WAIT
f3041af1
DN
112HAVE_UNISTD_H
113HAVE_UNIX_DOMAIN
114HAVE_UTIMES
115HAVE_WAIT_HEADER
116HAVE_X11R6
f3041af1
DN
117HAVE_XSCREENNUMBEROFSCREEN
118HAVE_X_WINDOWS
f3041af1 119INHIBIT_X11R6_XIM
f3041af1 120INTEL386
d35e1cd7 121INTERRUPT_INPUT
f3041af1
DN
122IRIS
123IRIS_4D
124IRIX6_5
125IRIX_FORCE_32_BITS
d35e1cd7
DN
126KERNEL_FILE
127LDAV_SYMBOL
f3041af1
DN
128LD_SWITCH_MACHINE
129LD_SWITCH_SYSTEM
130LD_SWITCH_SYSTEM_TEMACS
d35e1cd7 131LIBS_DEBUG
f3041af1
DN
132LIBS_MACHINE
133LIBS_SYSTEM
134LIBS_TERMCAP
f3041af1
DN
135LIBX11_SYSTEM
136LIBXMU
137LIB_GCC
138LIB_MOTIF
139LIB_STANDARD
140LIB_X11_LIB
141LINKER
d35e1cd7
DN
142LOAD_AVE_CVT
143LOAD_AVE_TYPE
144MAIL_USE_FLOCK
f3041af1
DN
145MKDIR_PROTOTYPE
146MOTIF
f3041af1 147NARROWPROTO
f3041af1 148NEED_ERRNO
f3041af1
DN
149NEED_PTEM_H
150NEED_SIOCTL
f3041af1 151NLIST_STRUCT
d35e1cd7
DN
152NOMULTIPLEJOBS
153NONSYSTEM_DIR_LIBRARY
f3041af1 154NOT_C_CODE
d35e1cd7 155NO_ARG_ARRAY
f3041af1 156NO_MODE_T
d35e1cd7 157NO_REMAP
f3041af1 158NO_SIOCTL_H
f40f5dc3 159NO_SOCK_SIGIO
f3041af1 160NO_TERMIO
d35e1cd7 161NO_UNION_TYPE
f3041af1
DN
162NSIG
163NSIG_MINIMUM
164OBJECTS_MACHINE
f3041af1 165ORDINARY_LINK
f3041af1 166O_NDELAY
f3041af1
DN
167PENDING_OUTPUT_COUNT
168PERROR
169PNTR_COMPARISON_TYPE
170POSIX_SIGNALS
171PREFER_VSUSP
172PTY_ITERATION
d35e1cd7 173PTY_NAME_SPRINTF
f3041af1 174PTY_OPEN
d35e1cd7 175PTY_TTY_NAME_SPRINTF
f3041af1
DN
176PURESIZE
177READ
178REL_ALLOC
f3041af1
DN
179RUN_TIME_REMAP
180SECTION_ALIGNMENT
181SEEK
182SEGMENT_MASK
183SEGSIZ
184SETUP_SLAVE_PTY
185SHORTNAMES
f3041af1
DN
186SIGMASKTYPE
187SIGNALS_VIA_CHARACTERS
188SIGN_EXTEND_CHAR
189SIGTYPE
f3041af1 190START_FILES
f3041af1 191SVR4
f3041af1 192SYSTEM_MALLOC
d35e1cd7 193SYSTEM_TYPE
f3041af1
DN
194SYSV_PTYS
195SYSV_SYSTEM_DIR
196S_IEXEC
197S_IFDIR
198S_IFLNK
199S_IFMT
200S_IREAD
201S_IWRITE
f3041af1
DN
202TERMCAP
203TERMINFO
204TEXT_END
205TEXT_START
f3041af1 206THIS_IS_MAKEFILE
f3041af1 207ULIMIT_BREAK_VALUE
f3041af1 208UNEXEC
f3041af1 209USE_MMAP_FOR_BUFFERS
f3041af1
DN
210USG
211USG5
212USG5_3
213USG5_4
214USG_JOBCTRL
215USG_SHARED_LIBRARIES
d35e1cd7
DN
216VIRT_ADDR_VARIES
217WORDS_BIG_ENDIAN
218WORD_MACHINE
f3041af1
DN
219XINT
220XSET
221XUINT
222X_DEFAULT_FONT
223_ABIN32
f3041af1
DN
224_MIPS_SZLONG
225_POSIX_SOURCE
f3041af1
DN
226_longjmp
227_setjmp
f3041af1 228alloca
f3041af1
DN
229data_start
230drem
f3041af1
DN
231emacs
232entry
233etext
234fatal
235fchmod
236getpgrp
f3041af1
DN
237hp9000s800
238index
f3041af1
DN
239jmp_buf
240longjmp
d35e1cd7 241m68000
f3041af1 242m68k
f3041af1
DN
243magic
244mc68000
245mips
f3041af1 246sel
d35e1cd7 247subprocesses
f3041af1 248sun
f3041af1 249text_start
d35e1cd7 250
aa5fea59 251# arch-tag: bc80061a-1168-4911-9766-46aaf2640250