Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 2367:ecf1ebac70d8
[xemacs-hg @ 2004-11-04 23:05:23 by ben]
commit mega-patch
configure.in: Turn off -Winline and -Wchar-subscripts.
Use the right set of cflags when compiling modules.
Rewrite ldap configuration to separate the inclusion of lber
(needed in recent Cygwin) from the basic checks for the
needed libraries.
add a function for MAKE_JUNK_C; initially code was added to
generate xemacs.def using this, but it will need to be rewritten.
add an rm -f for junk.c to avoid weird Cygwin bug with cp -f onto
an existing file.
Sort list of auto-detected functions and eliminate unused checks for
stpcpy, setlocale and getwd.
Add autodetection of Cygwin scanf problems
BETA: Rewrite section on configure to indicate what flags are important
and what not.
digest-doc.c, make-dump-id.c, profile.c, sorted-doc.c: Add proper decls for main().
make-msgfile.c: Document that this is old junk.
Move proposal to text.c.
make-msgfile.lex: Move proposal to text.c.
make-mswin-unicode.pl: Convert error-generating code so that the entire message will
be seen as a single unrecognized token.
mule/mule-ccl.el: Update docs.
lispref/mule.texi: Update CCL docs.
ldap/eldap.c: Mule-ize.
Use EXTERNAL_LIST_LOOP_2 instead of deleted EXTERNAL_LIST_LOOP.
* XEmacs 21.5.18 "chestnut" is released.
---------------------------------------------------------------
MULE-RELATED WORK:
---------------------------------------------------------------
---------------------------
byte-char conversion
---------------------------
buffer.c, buffer.h, insdel.c, text.c: Port FSF algorithm for byte-char conversion, replacing broken
previous version. Track the char position of the gap. Add
functions to do char-byte conversion downwards as well as upwards.
Move comments about algorithm workings to internals manual.
---------------------------
work on types
---------------------------
alloc.c, console-x-impl.h, dump-data.c, dump-data.h, dumper.c, dialog-msw.c, dired-msw.c, doc.c, editfns.c, esd.c, event-gtk.h, event-msw.c, events.c, file-coding.c, file-coding.h, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-shared.c, glyphs-x.c, glyphs.c, glyphs.h, gui.c, hpplay.c, imgproc.c, intl-win32.c, lrecord.h, lstream.c, keymap.c, lisp.h, libsst.c, linuxplay.c, miscplay.c, miscplay.h, mule-coding.c, nas.c, nt.c, ntheap.c, ntplay.c, objects-msw.c, objects-tty.c, objects-x.c, print.c, process-nt.c, process.c, redisplay.h, select-common.h, select-gtk.c, select-x.c, sgiplay.c, sound.c, sound.h, sunplay.c, sysfile.h, sysdep.c, syswindows.h, text.c, unexnt.c, win32.c, xgccache.c: Further work on types. This creates a full set of types for all
the basic semantics of `char' that I have so far identified, so that
its semantics can always be identified for the purposes of proper
Mule-safe code, and the raw use of `char' always avoided.
(1) More type renaming, for consistency of naming.
Char_ASCII -> Ascbyte
UChar_ASCII -> UAscbyte
Char_Binary -> CBinbyte
UChar_Binary -> Binbyte
SChar_Binary -> SBinbyte
(2) Introduce Rawbyte, CRawbyte, Boolbyte, Chbyte, UChbyte, and
Bitbyte and use them.
(3) New types Itext, Wexttext and Textcount for separating out
the concepts of bytes and textual units (different under UTF-16
and UTF-32, which are potential internal encodings).
(4) qxestr*_c -> qxestr*_ascii.
lisp.h: New; goes with other qxe() functions. #### Maybe goes in a
different section.
lisp.h: Group generic int-type defs together with EMACS_INT defs.
lisp.h: * lisp.h (WEXTTEXT_IS_WIDE)
New defns.
lisp.h: New type to replace places where int occurs as a boolean.
It's signed because occasionally people may want to use -1 as
an error value, and because unsigned ints are viral -- see comments
in the internals manual against using them.
dynarr.c: int -> Bytecount.
---------------------------
Mule-izing
---------------------------
device-x.c: Partially Mule-ize.
dumper.c, dumper.h: Mule-ize. Use Rawbyte. Use stderr_out not printf. Use wext_*().
sysdep.c, syswindows.h, text.c: New Wexttext API for manipulation of external text that may be
Unicode (e.g. startup code under Windows).
emacs.c: Mule-ize. Properly deal with argv in external encoding.
Use wext_*() and Wexttext. Use Rawbyte.
#if 0 some old junk on SCO that is unlikely to be correct.
Rewrite allocation code in run-temacs.
emacs.c, symsinit.h, win32.c: Rename win32 init function and call it even earlier, to
initialize mswindows_9x_p even earlier, for use in startup code
(XEUNICODE_P).
process.c: Use _wenviron not environ under Windows, to get Unicode environment
variables.
event-Xt.c: Mule-ize drag-n-drop related stuff.
dragdrop.c, dragdrop.h, frame-x.c: Mule-ize.
text.h: Add some more stand-in defines for particular kinds of conversion;
use in Mule-ization work in frame-x.c etc.
---------------------------
Freshening
---------------------------
intl-auto-encap-win32.c, intl-auto-encap-win32.h: Regenerate.
---------------------------
Unicode-work
---------------------------
intl-win32.c, syswindows.h: Factor out common options to MultiByteToWideChar and
WideCharToMultiByte. Add convert_unicode_to_multibyte_malloc()
and convert_unicode_to_multibyte_dynarr() and use. Add stuff for
alloca() conversion of multibyte/unicode.
alloc.c: Use dfc_external_data_len() in case of unicode coding system.
alloc.c, mule-charset.c: Don't zero out and reinit charset Unicode tables. This fucks up
dump-time loading. Anyway, either we load them at dump time or
run time, never both.
unicode.c: Dump the blank tables as well.
---------------------------------------------------------------
DOCUMENTATION, MOSTLY MULE-RELATED:
---------------------------------------------------------------
EmacsFrame.c, emodules.c, event-Xt.c, fileio.c, input-method-xlib.c, mule-wnnfns.c, redisplay-gtk.c, redisplay-tty.c, redisplay-x.c, regex.c, sysdep.c: Add comment about Mule work needed.
text.h: Add more documentation describing why DFC routines were not written
to return their value. Add some other DFC documentation.
console-msw.c, console-msw.h: Add pointer to docs in win32.c.
emacs.c: Add comments on sources of doc info.
text.c, charset.h, unicode.c, intl-win32.c, intl-encap-win32.c, text.h, file-coding.c, mule-coding.c: Collect background comments and related to text matters and
internationalization, and proposals for work to be done, in text.c
or Internals manual, stuff related to specific textual API's in
text.h, and stuff related to internal implementation of Unicode
conversion in unicode.c. Put lots of pointers to the comments to
make them easier to find.
s/mingw32.h, s/win32-common.h, s/win32-native.h, s/windowsnt.h, win32.c: Add bunches of new documentation on the different kinds of
builds and environments under Windows and how they work.
Collect this info in win32.c. Add pointers to these docs in
the relevant s/* files.
emacs.c: Document places with long comments.
Remove comment about exiting, move to internals manual, put
in pointer.
event-stream.c: Move docs about event queues and focus to internals manual, put
in pointer.
events.h: Move docs about event stream callbacks to internals manual, put
in pointer.
profile.c, redisplay.c, signal.c: Move documentation to the Internals manual.
process-nt.c: Add pointer to comment in win32-native.el.
lisp.h: Add comments about some comment conventions.
lisp.h: Add comment about the second argument.
device-msw.c, redisplay-msw.c: @@#### comments are out-of-date.
---------------------------------------------------------------
PDUMP WORK (MOTIVATED BY UNICODE CHANGES)
---------------------------------------------------------------
alloc.c, buffer.c, bytecode.c, console-impl.h, console.c, device.c, dumper.c, lrecord.h, elhash.c, emodules.h, events.c, extents.c, frame.c, glyphs.c, glyphs.h, mule-charset.c, mule-coding.c, objects.c, profile.c, rangetab.c, redisplay.c, specifier.c, specifier.h, window.c, lstream.c, file-coding.h, file-coding.c: PDUMP:
Properly implement dump_add_root_block(), which never worked before,
and is necessary for dumping Unicode tables.
Pdump name changes for accuracy:
XD_STRUCT_PTR -> XD_BLOCK_PTR.
XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY.
XD_C_STRING -> XD_ASCII_STRING.
*_structure_* -> *_block_*.
lrecord.h: some comments added about
dump_add_root_block() vs dump_add_root_block_ptr().
extents.c: remove incorrect comment about pdump problems with gap array.
---------------------------------------------------------------
ALLOCATION
---------------------------------------------------------------
abbrev.c, alloc.c, bytecode.c, casefiddle.c, device-msw.c, device-x.c, dired-msw.c, doc.c, doprnt.c, dragdrop.c, editfns.c, emodules.c, file-coding.c, fileio.c, filelock.c, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-x.c, gui-msw.c, gui-x.c, imgproc.c, intl-win32.c, lread.c, menubar-gtk.c, menubar.c, nt.c, objects-msw.c, objects-x.c, print.c, process-nt.c, process-unix.c, process.c, realpath.c, redisplay.c, search.c, select-common.c, symbols.c, sysdep.c, syswindows.h, text.c, text.h, ui-byhand.c: New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for
more convenient allocation of these commonly requested items.
Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes,
xnew_ibytes, etc. also XREALLOC_ARRAY, xnew.
alloc.c: Rewrite the allocation functions to factor out repeated code.
Add assertions for freeing dumped data.
lisp.h: Moved down and consolidated with other allocation stuff.
lisp.h, dynarr.c: New functions for allocation that's very efficient when mostly in
LIFO order.
lisp.h, text.c, text.h: Factor out some stuff for general use by alloca()-conversion funs.
text.h, lisp.h: Fill out convenience routines for allocating various kinds of
bytes and put them in lisp.h. Use them in place of xmalloc(),
ALLOCA().
text.h: Fill out the convenience functions so the _MALLOC() kinds match
the alloca() kinds.
---------------------------------------------------------------
ERROR-CHECKING
---------------------------------------------------------------
text.h: Create ASSERT_ASCTEXT_ASCII() and ASSERT_ASCTEXT_ASCII_LEN()
from similar Eistring checkers and change the Eistring checkers to
use them instead.
---------------------------------------------------------------
MACROS IN LISP.H
---------------------------------------------------------------
lisp.h: Redo GCPRO declarations. Create a "base" set of functions that can
be used to generate any kind of gcpro sets -- regular, ngcpro,
nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2.
buffer.c, callint.c, chartab.c, console-msw.c, device-x.c, dialog-msw.c, dired.c, extents.c, ui-gtk.c, rangetab.c, nt.c, mule-coding.c, minibuf.c, menubar-msw.c, menubar.c, menubar-gtk.c, lread.c, lisp.h, gutter.c, glyphs.c, glyphs-widget.c, fns.c, fileio.c, file-coding.c, specifier.c: Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities.
Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3
or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2
(new macro). Removed/redid comments on EXTERNAL_LIST_LOOP.
---------------------------------------------------------------
SPACING FIXES
---------------------------------------------------------------
callint.c, hftctl.c, number-gmp.c, process-unix.c: Spacing fixes.
---------------------------------------------------------------
FIX FOR GEOMETRY PROBLEM IN FIRST FRAME
---------------------------------------------------------------
unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by
release 1.5.12 of Cygwin].
toolbar.c: bug fix for problem of initial frame being 77 chars wide on Windows.
will be overridden by my other ws.
---------------------------------------------------------------
FIX FOR LEAKING PROCESS HANDLES:
---------------------------------------------------------------
process-nt.c: Fixes for leaking handles. Inspired by work done by Adrian Aichner
<adrian@xemacs.org>.
---------------------------------------------------------------
FIX FOR CYGWIN BUG (Unicode-related):
---------------------------------------------------------------
unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by
release 1.5.12 of Cygwin].
---------------------------------------------------------------
WARNING FIXES:
---------------------------------------------------------------
console-stream.c: `reinit' is unused.
compiler.h, event-msw.c, frame-msw.c, intl-encap-win32.c, text.h: Add stuff to deal with ANSI-aliasing warnings I got.
regex.c: Gather includes together to avoid warning.
---------------------------------------------------------------
CHANGES TO INITIALIZATION ROUTINES:
---------------------------------------------------------------
buffer.c, emacs.c, console.c, debug.c, device-x.c, device.c, dragdrop.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, font-lock.c, frame-msw.c, glyphs-widget.c, glyphs.c, gui-x.c, insdel.c, lread.c, lstream.c, menubar-gtk.c, menubar-x.c, minibuf.c, mule-wnnfns.c, objects-msw.c, objects.c, print.c, scrollbar-x.c, search.c, select-x.c, text.c, undo.c, unicode.c, window.c, symsinit.h: Call reinit_*() functions directly from emacs.c, for clarity.
Factor out some redundant init code. Move disallowed stuff
that had crept into vars_of_glyphs() into complex_vars_of_glyphs().
Call init_eval_semi_early() from eval.c not in the middle of
vars_of_() in emacs.c since there should be no order dependency
in the latter calls.
---------------------------------------------------------------
ARMAGEDDON:
---------------------------------------------------------------
alloc.c, emacs.c, lisp.h, print.c: Rename inhibit_non_essential_printing_operations to
inhibit_non_essential_conversion_operations.
text.c: Assert on !inhibit_non_essential_conversion_operations.
console-msw.c, print.c: Don't do conversion in SetConsoleTitle or FindWindow to avoid
problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT
in places where problems would arise.
---------------------------------------------------------------
CHANGES TO THE BUILD PROCEDURE:
---------------------------------------------------------------
config.h.in, s/cxux.h, s/usg5-4-2.h, m/powerpc.h: Add comment about correct ordering of this file.
Rearrange everything to follow this -- put all #undefs together
and before the s&m files. Add undefs for HAVE_ALLOCA, C_ALLOCA,
BROKEN_ALLOCA_IN_FUNCTION_CALLS, STACK_DIRECTION. Remove unused
HAVE_STPCPY, HAVE_GETWD, HAVE_SETLOCALE.
m/gec63.h: Deleted; totally broken, not used at all, not in FSF.
m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h, m/amdahl.h, m/apollo.h, m/att3b.h, m/aviion.h, m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/ews4800r.h, m/gould.h, m/hp300bsd.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, m/intel386.h, m/iris4d.h, m/iris5d.h, m/iris6d.h, m/irist.h, m/isi-ov.h, m/luna88k.h, m/m68k.h, m/masscomp.h, m/mg1.h, m/mips-nec.h, m/mips-siemens.h, m/mips.h, m/news.h, m/nh3000.h, m/nh4000.h, m/ns32000.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pmax.h, m/powerpc.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, m/sgi-challenge.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, m/targon31.h, m/tekxd88.h, m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/xps100.h: Delete C_ALLOCA, HAVE_ALLOCA, STACK_DIRECTION,
BROKEN_ALLOCA_IN_FUNCTION_CALLS. All of this is auto-detected.
When in doubt, I followed recent FSF sources, which also have
these things deleted.
author | ben |
---|---|
date | Thu, 04 Nov 2004 23:08:28 +0000 |
parents | 702b5727498a |
children | 166ed8151e62 |
comparison
equal
deleted
inserted
replaced
2366:2a392e0c390a | 2367:ecf1ebac70d8 |
---|---|
1 /* XEmacs site configuration template file. -*- C -*- | 1 /* XEmacs site configuration template file. -*- C -*- |
2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc. | 2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc. |
3 Copyright (C) 2000, 2001, 2002 Ben Wing. | 3 Copyright (C) 2000, 2001, 2002, 2004 Ben Wing. |
4 | 4 |
5 This file is part of XEmacs. | 5 This file is part of XEmacs. |
6 | 6 |
7 XEmacs is free software; you can redistribute it and/or modify it | 7 XEmacs is free software; you can redistribute it and/or modify it |
8 under the terms of the GNU General Public License as published by the | 8 under the terms of the GNU General Public License as published by the |
24 /* No code in XEmacs #includes config.h twice, but some of the code | 24 /* No code in XEmacs #includes config.h twice, but some of the code |
25 intended to work with other packages as well (like gmalloc.c) | 25 intended to work with other packages as well (like gmalloc.c) |
26 think they can include it as many times as they like. */ | 26 think they can include it as many times as they like. */ |
27 #ifndef _SRC_CONFIG_H_ | 27 #ifndef _SRC_CONFIG_H_ |
28 #define _SRC_CONFIG_H_ | 28 #define _SRC_CONFIG_H_ |
29 | |
30 /* The proper format of this file: | |
31 | |
32 1. All #undef statements that are changed by configure should go together, | |
33 BEFORE the inclusion of the s&m files, and need to be bracketed by | |
34 #ifndef WIN32_NO_CONFIGURE. There is currently only one exception to | |
35 this: SYSTEM_TYPE. | |
36 | |
37 2. All other code, except for the things that may be referenced in s&m | |
38 files (there is very very little of this) need to go AFTER the inclusion | |
39 of s&m files. | |
40 | |
41 Together, this ensures that the s&m files can override configure | |
42 determinations as necessary, and we will properly notice this. | |
43 */ | |
29 | 44 |
30 /* | 45 /* |
31 This file now serves both as config.h.in and simply as config.h under | 46 This file now serves both as config.h.in and simply as config.h under |
32 Windows NT. Under Windows NT, there is no configure script that | 47 Windows NT. Under Windows NT, there is no configure script that |
33 operates, so it is necessary for the relevant constants to be set | 48 operates, so it is necessary for the relevant constants to be set |
131 #undef INHIBIT_SITE_LISP | 146 #undef INHIBIT_SITE_LISP |
132 | 147 |
133 /* Allow the configurer to specify if she wants site-modules. */ | 148 /* Allow the configurer to specify if she wants site-modules. */ |
134 #undef INHIBIT_SITE_MODULES | 149 #undef INHIBIT_SITE_MODULES |
135 | 150 |
136 /* This will be removed in 19.15. */ | |
137 /* Hah! Try 20.3 ... */ | |
138 /* Hah! Try never ... */ | |
139 /* If at first you don't succeed, try, try again. */ | |
140 /* #define LOSING_BYTECODE */ | |
141 | |
142 /* Undefine on systems which don't have processes */ | 151 /* Undefine on systems which don't have processes */ |
143 #undef HAVE_UNIX_PROCESSES | 152 #undef HAVE_UNIX_PROCESSES |
144 | 153 |
145 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */ | 154 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */ |
146 #undef GNU_MALLOC | 155 #undef GNU_MALLOC |
157 /* Use the system malloc? */ | 166 /* Use the system malloc? */ |
158 #undef USE_SYSTEM_MALLOC | 167 #undef USE_SYSTEM_MALLOC |
159 | 168 |
160 /* Use a debugging malloc? -- experimental */ | 169 /* Use a debugging malloc? -- experimental */ |
161 #undef USE_DEBUG_MALLOC | 170 #undef USE_DEBUG_MALLOC |
171 | |
172 /* Use the relocating allocator for buffer space? */ | |
173 #undef REL_ALLOC | |
174 | |
175 /* If using the C implementation of alloca, define if you know the | |
176 direction of stack growth for your system; otherwise it will be | |
177 automatically deduced at run-time. | |
178 STACK_DIRECTION > 0 => grows toward higher addresses | |
179 STACK_DIRECTION < 0 => grows toward lower addresses | |
180 STACK_DIRECTION = 0 => direction of growth unknown */ | |
181 #undef STACK_DIRECTION | |
182 | |
183 /* Is alloca() broken when part of an argument to a function call? */ | |
184 #undef BROKEN_ALLOCA_IN_FUNCTION_CALLS | |
185 | |
186 /* Define to 1 if you have `alloca', as a function or macro. */ | |
187 #undef HAVE_ALLOCA | |
188 | |
189 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). | |
190 */ | |
191 #undef HAVE_ALLOCA_H | |
192 | |
193 /* Define to 1 if using `alloca.c'. */ | |
194 #undef C_ALLOCA | |
162 | 195 |
163 /* Compile in TTY support? */ | 196 /* Compile in TTY support? */ |
164 #undef HAVE_TTY | 197 #undef HAVE_TTY |
165 | 198 |
166 /* Compile in support for MS windows? */ | 199 /* Compile in support for MS windows? */ |
183 #undef _SVID_SOURCE | 216 #undef _SVID_SOURCE |
184 #undef X_LOCALE | 217 #undef X_LOCALE |
185 #undef NARROWPROTO | 218 #undef NARROWPROTO |
186 #endif /* HAVE_X_WINDOWS */ | 219 #endif /* HAVE_X_WINDOWS */ |
187 | 220 |
188 #endif /* WIN32_NO_CONFIGURE */ | |
189 | |
190 #ifdef HAVE_X_WINDOWS | |
191 /* The following should always be defined, no matter what xmkmf thinks. */ | |
192 #ifndef NeedFunctionPrototypes | |
193 #define NeedFunctionPrototypes 1 | |
194 #endif | |
195 #ifndef FUNCPROTO | |
196 #define FUNCPROTO 15 | |
197 #endif | |
198 #endif /* HAVE_X_WINDOWS */ | |
199 | |
200 /* Defines for building Gtk applications */ | 221 /* Defines for building Gtk applications */ |
201 #undef HAVE_GNOME | 222 #undef HAVE_GNOME |
202 #undef HAVE_GTK | 223 #undef HAVE_GTK |
203 #undef HAVE_GDK_IMLIB_INIT | 224 #undef HAVE_GDK_IMLIB_INIT |
204 #undef HAVE_GLADE_GLADE_H | 225 #undef HAVE_GLADE_GLADE_H |
205 #undef HAVE_GLADE_H | 226 #undef HAVE_GLADE_H |
206 #undef LIBGLADE_XML_TXTDOMAIN | 227 #undef LIBGLADE_XML_TXTDOMAIN |
207 | |
208 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ | |
209 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined (HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ | |
210 #define HAVE_WINDOW_SYSTEM | |
211 #endif | |
212 | |
213 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) | |
214 #define HAVE_XLIKE | |
215 #endif | |
216 | |
217 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | |
218 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_MSG_SELECT) | |
219 #define HAVE_UNIXOID_EVENT_LOOP | |
220 #endif | |
221 | |
222 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */ | |
223 | 228 |
224 /* XFree86 has a different prototype for this function */ | 229 /* XFree86 has a different prototype for this function */ |
225 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK | 230 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK |
226 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE | 231 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE |
227 | 232 |
341 #undef LOCALTIME_CACHE | 346 #undef LOCALTIME_CACHE |
342 | 347 |
343 /* Can `gettimeofday' accept two arguments? */ | 348 /* Can `gettimeofday' accept two arguments? */ |
344 #undef GETTIMEOFDAY_ONE_ARGUMENT | 349 #undef GETTIMEOFDAY_ONE_ARGUMENT |
345 | 350 |
351 /* Is scanf() broken? (Under certain versions of Cygwin) */ | |
352 #undef CYGWIN_SCANF_BUG | |
353 | |
346 #undef HAVE_MMAP | 354 #undef HAVE_MMAP |
347 #undef HAVE_STRCOLL | 355 #undef HAVE_STRCOLL |
348 #undef HAVE_GETPGRP | 356 #undef HAVE_GETPGRP |
349 #undef GETPGRP_VOID | 357 #undef GETPGRP_VOID |
350 | 358 |
351 #undef HAVE_INVERSE_HYPERBOLIC | 359 #undef HAVE_INVERSE_HYPERBOLIC |
352 | 360 |
361 /* Functions in the big list of functions checked for */ | |
353 #undef HAVE_CBRT | 362 #undef HAVE_CBRT |
354 #undef HAVE_CLOSEDIR | 363 #undef HAVE_CLOSEDIR |
355 #undef HAVE_DUP2 | 364 #undef HAVE_DUP2 |
356 #undef HAVE_EACCESS | 365 #undef HAVE_EACCESS |
357 #undef HAVE_FMOD | 366 #undef HAVE_FMOD |
358 #undef HAVE_FPATHCONF | 367 #undef HAVE_FPATHCONF |
359 #undef HAVE_FREXP | 368 #undef HAVE_FREXP |
369 #undef HAVE_FSYNC | |
360 #undef HAVE_FTIME | 370 #undef HAVE_FTIME |
371 #undef HAVE_FTRUNCATE | |
361 #undef HAVE_GETADDRINFO | 372 #undef HAVE_GETADDRINFO |
362 #undef HAVE_GETHOSTNAME | 373 #undef HAVE_GETHOSTNAME |
363 #undef HAVE_GETNAMEINFO | 374 #undef HAVE_GETNAMEINFO |
364 #undef HAVE_GETPAGESIZE | 375 #undef HAVE_GETPAGESIZE |
365 #undef HAVE_GETRLIMIT | 376 #undef HAVE_GETRLIMIT |
366 #undef HAVE_GETTIMEOFDAY | 377 #undef HAVE_GETTIMEOFDAY |
367 #undef HAVE_GETWD | |
368 #undef HAVE_GETCWD | 378 #undef HAVE_GETCWD |
369 #undef HAVE_LINK | 379 #undef HAVE_LINK |
370 #undef HAVE_LOGB | 380 #undef HAVE_LOGB |
371 #undef HAVE_LRAND48 | 381 #undef HAVE_LRAND48 |
372 #undef HAVE_MATHERR | 382 #undef HAVE_MATHERR |
374 #undef HAVE_MKTIME | 384 #undef HAVE_MKTIME |
375 #undef HAVE_PERROR | 385 #undef HAVE_PERROR |
376 #undef HAVE_POLL | 386 #undef HAVE_POLL |
377 #undef HAVE_RANDOM | 387 #undef HAVE_RANDOM |
378 #undef HAVE_READLINK | 388 #undef HAVE_READLINK |
379 #undef HAVE_REALPATH | |
380 #undef HAVE_RENAME | 389 #undef HAVE_RENAME |
381 #undef HAVE_RES_INIT | 390 #undef HAVE_RES_INIT |
382 #undef HAVE_RINT | 391 #undef HAVE_RINT |
383 #undef HAVE_RMDIR | 392 #undef HAVE_RMDIR |
384 #undef HAVE_SELECT | 393 #undef HAVE_SELECT |
386 #undef HAVE_SETPGID | 395 #undef HAVE_SETPGID |
387 #undef HAVE_SETSID | 396 #undef HAVE_SETSID |
388 #undef HAVE_SIGBLOCK | 397 #undef HAVE_SIGBLOCK |
389 #undef HAVE_SIGHOLD | 398 #undef HAVE_SIGHOLD |
390 #undef HAVE_SIGPROCMASK | 399 #undef HAVE_SIGPROCMASK |
391 #undef HAVE_SIGSETJMP | |
392 #undef HAVE_SNPRINTF | 400 #undef HAVE_SNPRINTF |
393 #undef HAVE_STPCPY | |
394 #undef HAVE_STRERROR | 401 #undef HAVE_STRERROR |
395 #undef HAVE_STRLWR | 402 #undef HAVE_STRLWR |
396 #undef HAVE_STRUPR | 403 #undef HAVE_STRUPR |
397 #undef HAVE_SYMLINK | 404 #undef HAVE_SYMLINK |
398 #undef HAVE_TZSET | 405 #undef HAVE_TZSET |
399 #undef HAVE_ULIMIT | 406 #undef HAVE_ULIMIT |
407 #undef HAVE_UMASK | |
400 #undef HAVE_USLEEP | 408 #undef HAVE_USLEEP |
409 #undef HAVE_VLIMIT | |
410 #undef HAVE_VSNPRINTF | |
411 #undef HAVE_WAITPID | |
412 #undef HAVE_WCSCMP | |
413 #undef HAVE_WCSLEN | |
414 | |
401 #undef HAVE_UTIME | 415 #undef HAVE_UTIME |
402 #undef HAVE_UTIMES | 416 #undef HAVE_UTIMES |
403 #undef HAVE_WAITPID | 417 #undef HAVE_SIGSETJMP |
404 #undef HAVE_VSNPRINTF | |
405 #undef HAVE_VLIMIT | |
406 | 418 |
407 /* Many flavors of PTY support */ | 419 /* Many flavors of PTY support */ |
408 #undef HAVE_GETPT /* glibc's easy pty allocation function */ | 420 #undef HAVE_GETPT /* glibc's easy pty allocation function */ |
409 #undef HAVE__GETPTY /* SGI's easy pty allocation function */ | 421 #undef HAVE__GETPTY /* SGI's easy pty allocation function */ |
410 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */ | 422 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */ |
426 #undef HAVE_SOCKADDR_SUN_LEN | 438 #undef HAVE_SOCKADDR_SUN_LEN |
427 #undef HAVE_MULTICAST | 439 #undef HAVE_MULTICAST |
428 #undef HAVE_SYSVIPC | 440 #undef HAVE_SYSVIPC |
429 #undef HAVE_LOCKF | 441 #undef HAVE_LOCKF |
430 #undef HAVE_FLOCK | 442 #undef HAVE_FLOCK |
431 #undef HAVE_FSYNC | |
432 #undef HAVE_FTRUNCATE | |
433 #undef HAVE_UMASK | |
434 | 443 |
435 #undef SYSV_SYSTEM_DIR | 444 #undef SYSV_SYSTEM_DIR |
436 #undef NONSYSTEM_DIR_LIBRARY | 445 #undef NONSYSTEM_DIR_LIBRARY |
437 | 446 |
438 #undef HAVE_TERMIOS | 447 #undef HAVE_TERMIOS |
665 #undef off_t | 674 #undef off_t |
666 #undef uid_t | 675 #undef uid_t |
667 #undef gid_t | 676 #undef gid_t |
668 #undef socklen_t | 677 #undef socklen_t |
669 | 678 |
679 /* Enhanced numeric support */ | |
680 #undef WITH_NUMBER_TYPES | |
681 #undef WITH_GMP | |
682 #undef WITH_MP | |
683 #undef MP_PREFIX | |
684 #undef HAVE_MP_MOVE | |
685 | |
686 #undef SIZEOF_SHORT | |
687 #undef SIZEOF_INT | |
688 #undef SIZEOF_LONG | |
689 #undef SIZEOF_LONG_LONG | |
690 #undef SIZEOF_VOID_P | |
691 #undef SIZEOF_DOUBLE | |
692 | |
693 /* some systems (Cygwin) typedef u?intptr_t in <sys/types.h> | |
694 but the standard is <inttypes.h> | |
695 ugliness due to last-resort conditional typedef'ing in lisp.h */ | |
696 #undef HAVE_INTPTR_T_IN_SYS_TYPES_H | |
697 | |
698 /* Does the keyword `inline' exist? */ | |
699 #undef inline | |
700 | |
701 /* movemail options */ | |
702 /* Should movemail use POP3 for mail access? */ | |
703 #undef MAIL_USE_POP | |
704 /* Should movemail use kerberos for POP authentication? */ | |
705 #undef KERBEROS | |
706 /* Should movemail use hesiod for getting POP server host? */ | |
707 #undef HESIOD | |
708 /* Determine type of mail locking. */ | |
709 #undef MAIL_LOCK_LOCKF | |
710 #undef MAIL_LOCK_FLOCK | |
711 #undef MAIL_LOCK_DOT | |
712 #undef MAIL_LOCK_LOCKING | |
713 #undef MAIL_LOCK_MMDF | |
714 | |
715 #undef HAVE_MKSTEMP | |
716 | |
717 #undef PREFIX_USER_DEFINED | |
718 #undef EXEC_PREFIX_USER_DEFINED | |
719 #undef MODULEDIR_USER_DEFINED | |
720 #undef SITEMODULEDIR_USER_DEFINED | |
721 #undef DOCDIR_USER_DEFINED | |
722 #undef LISPDIR_USER_DEFINED | |
723 #undef PACKAGE_PATH_USER_DEFINED | |
724 #undef SITELISPDIR_USER_DEFINED | |
725 #undef ARCHLIBDIR_USER_DEFINED | |
726 #undef ETCDIR_USER_DEFINED | |
727 #undef INFODIR_USER_DEFINED | |
728 #undef INFOPATH_USER_DEFINED | |
729 | |
730 #undef PDUMP | |
731 | |
732 /* Define DYNODUMP if it is necessary to properly dump on this system. | |
733 Currently this is only Solaris 2.x, for x < 6. */ | |
734 #undef DYNODUMP | |
735 | |
736 /* Compile in support for Sun Sparcworks/WorkShop? */ | |
737 #undef SUNPRO | |
738 | |
739 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in | |
740 support for playing sound files. (On Suns, the sound support is | |
741 usually found in /usr/demo/SOUND - you may need to install the | |
742 "SUNWaudmo" package.) */ | |
743 #undef HAVE_NATIVE_SOUND | |
744 | |
745 /* Native sound may be provided via soundcard.h, in various directories */ | |
746 #undef SOUNDCARD_H_FILE | |
747 | |
748 /* Compile in support for NAS (Network Audio System)? | |
749 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some | |
750 error handling changes. */ | |
751 #undef HAVE_NAS_SOUND | |
752 #undef NAS_NO_ERROR_JUMP | |
753 | |
754 /* Compile in support for ESD (Enlightened Sound Daemon)? */ | |
755 #undef HAVE_ESD_SOUND | |
756 | |
757 /* Compile in support for SunPro usage-tracking code? */ | |
758 #undef USAGE_TRACKING | |
759 | |
760 /* Compile in support for Tooltalk? */ | |
761 #undef TOOLTALK | |
762 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ | |
763 #undef TT_C_H_FILE | |
764 | |
765 /* Toolkits used by lwlib for various widgets... */ | |
766 | |
767 #undef LWLIB_USES_MOTIF | |
768 #undef LWLIB_USES_ATHENA | |
769 #undef LWLIB_MENUBARS_LUCID | |
770 #undef LWLIB_MENUBARS_MOTIF | |
771 #undef LWLIB_SCROLLBARS_LUCID | |
772 #undef LWLIB_SCROLLBARS_MOTIF | |
773 #undef LWLIB_SCROLLBARS_ATHENA | |
774 #undef LWLIB_SCROLLBARS_ATHENA3D | |
775 #undef LWLIB_DIALOGS_MOTIF | |
776 #undef LWLIB_DIALOGS_ATHENA | |
777 #undef LWLIB_DIALOGS_ATHENA3D | |
778 #undef LWLIB_TABS_LUCID | |
779 #undef LWLIB_WIDGETS_MOTIF | |
780 #undef LWLIB_WIDGETS_ATHENA | |
781 #undef HAVE_ATHENA_3D | |
782 | |
783 /* Other things that can be disabled by configure. */ | |
784 #undef HAVE_MENUBARS | |
785 #undef HAVE_SCROLLBARS | |
786 #undef HAVE_DIALOGS | |
787 #undef HAVE_TOOLBARS | |
788 #undef HAVE_WIDGETS | |
789 | |
670 #endif /* WIN32_NO_CONFIGURE */ | 790 #endif /* WIN32_NO_CONFIGURE */ |
671 | |
672 /* USER_FULL_NAME returns a string that is the user's full name. | |
673 It can assume that the variable `pw' points to the password file | |
674 entry for this user. | |
675 | |
676 At some sites, the pw_gecos field contains the user's full name. | |
677 If neither this nor any other field contains the right thing, use | |
678 pw_name, giving the user's login name, since that is better than | |
679 nothing. */ | |
680 #define USER_FULL_NAME pw->pw_gecos | |
681 | |
682 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS) | |
683 #define XLIB_ILLEGAL_ACCESS 1 | |
684 #endif | |
685 | |
686 #define XEMACS_WANTS_C_ALLOCA | |
687 | 791 |
688 /* alloca twiddling. | 792 /* alloca twiddling. |
689 Because we might be #including alloca.h here, feature test macros | 793 Because we might be #including alloca.h here, feature test macros |
690 such as _XOPEN_SOURCE must be defined above. */ | 794 such as _XOPEN_SOURCE must be defined above. |
691 | 795 |
692 #undef HAVE_ALLOCA_H | 796 #### This really should go below the inclusion of s&m files, like |
797 everything else. */ | |
798 | |
693 #ifndef NOT_C_CODE | 799 #ifndef NOT_C_CODE |
694 #if defined (__CYGWIN__) | 800 #if defined (__CYGWIN__) |
695 /* We get complaints about redefinitions if we just use the __GNUC__ | 801 /* We get complaints about redefinitions if we just use the __GNUC__ |
696 definition: stdlib.h also includes alloca.h, which defines it slightly | 802 definition: stdlib.h also includes alloca.h, which defines it slightly |
697 differently */ | 803 differently */ |
746 | 852 |
747 #if defined (__cplusplus) && !defined (NOT_C_CODE) | 853 #if defined (__cplusplus) && !defined (NOT_C_CODE) |
748 } | 854 } |
749 #endif | 855 #endif |
750 | 856 |
857 /* This will be removed in 19.15. */ | |
858 /* Hah! Try 20.3 ... */ | |
859 /* Hah! Try never ... */ | |
860 /* If at first you don't succeed, try, try again. */ | |
861 /* #define LOSING_BYTECODE */ | |
862 | |
863 /* USER_FULL_NAME returns a string that is the user's full name. | |
864 It can assume that the variable `pw' points to the password file | |
865 entry for this user. | |
866 | |
867 At some sites, the pw_gecos field contains the user's full name. | |
868 If neither this nor any other field contains the right thing, use | |
869 pw_name, giving the user's login name, since that is better than | |
870 nothing. */ | |
871 #define USER_FULL_NAME pw->pw_gecos | |
872 | |
873 #define XEMACS_WANTS_C_ALLOCA | |
874 | |
751 /* s&m files shouldn't be required to define anything, or even to exist. | 875 /* s&m files shouldn't be required to define anything, or even to exist. |
752 If the s&m files don't define SYSTEM_TYPE, configure will select an | 876 If the s&m files don't define SYSTEM_TYPE, configure will select an |
753 appropriate default value. */ | 877 appropriate default value. */ |
754 #ifndef SYSTEM_TYPE | 878 #ifndef SYSTEM_TYPE |
755 #undef SYSTEM_TYPE | 879 #undef SYSTEM_TYPE |
771 #ifndef SIGTYPE | 895 #ifndef SIGTYPE |
772 #define SIGTYPE RETSIGTYPE XCDECL | 896 #define SIGTYPE RETSIGTYPE XCDECL |
773 #define SIGRETURN return | 897 #define SIGRETURN return |
774 #endif | 898 #endif |
775 | 899 |
776 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */ | 900 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ |
777 | 901 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined (HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ |
778 /* Use the relocating allocator for buffer space? */ | 902 #define HAVE_WINDOW_SYSTEM |
779 #undef REL_ALLOC | 903 #endif |
780 | |
781 /* Define DYNODUMP if it is necessary to properly dump on this system. | |
782 Currently this is only Solaris 2.x, for x < 6. */ | |
783 #undef DYNODUMP | |
784 | |
785 /* Compile in support for Sun Sparcworks/WorkShop? */ | |
786 #undef SUNPRO | |
787 | |
788 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in | |
789 support for playing sound files. (On Suns, the sound support is | |
790 usually found in /usr/demo/SOUND - you may need to install the | |
791 "SUNWaudmo" package.) */ | |
792 #undef HAVE_NATIVE_SOUND | |
793 | |
794 /* Native sound may be provided via soundcard.h, in various directories */ | |
795 #undef SOUNDCARD_H_FILE | |
796 | |
797 /* Compile in support for NAS (Network Audio System)? | |
798 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some | |
799 error handling changes. */ | |
800 #undef HAVE_NAS_SOUND | |
801 #undef NAS_NO_ERROR_JUMP | |
802 | |
803 /* Compile in support for ESD (Enlightened Sound Daemon)? */ | |
804 #undef HAVE_ESD_SOUND | |
805 | |
806 /* Compile in support for SunPro usage-tracking code? */ | |
807 #undef USAGE_TRACKING | |
808 | |
809 /* Compile in support for Tooltalk? */ | |
810 #undef TOOLTALK | |
811 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ | |
812 #undef TT_C_H_FILE | |
813 | |
814 /* Toolkits used by lwlib for various widgets... */ | |
815 | |
816 #undef LWLIB_USES_MOTIF | |
817 #undef LWLIB_USES_ATHENA | |
818 #undef LWLIB_MENUBARS_LUCID | |
819 #undef LWLIB_MENUBARS_MOTIF | |
820 #undef LWLIB_SCROLLBARS_LUCID | |
821 #undef LWLIB_SCROLLBARS_MOTIF | |
822 #undef LWLIB_SCROLLBARS_ATHENA | |
823 #undef LWLIB_SCROLLBARS_ATHENA3D | |
824 #undef LWLIB_DIALOGS_MOTIF | |
825 #undef LWLIB_DIALOGS_ATHENA | |
826 #undef LWLIB_DIALOGS_ATHENA3D | |
827 #undef LWLIB_TABS_LUCID | |
828 #undef LWLIB_WIDGETS_MOTIF | |
829 #undef LWLIB_WIDGETS_ATHENA | |
830 #undef HAVE_ATHENA_3D | |
831 | |
832 /* Other things that can be disabled by configure. */ | |
833 #undef HAVE_MENUBARS | |
834 #undef HAVE_SCROLLBARS | |
835 #undef HAVE_DIALOGS | |
836 #undef HAVE_TOOLBARS | |
837 #undef HAVE_WIDGETS | |
838 | |
839 #endif /* WIN32_NO_CONFIGURE */ | |
840 | 904 |
841 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS) || defined (HAVE_WIDGETS) | 905 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS) || defined (HAVE_WIDGETS) |
842 #define HAVE_GUI_OBJECTS | 906 #define HAVE_GUI_OBJECTS |
907 #endif | |
908 | |
909 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) | |
910 #define HAVE_POPUPS | |
911 #endif | |
912 | |
913 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) | |
914 #define HAVE_XLIKE | |
843 #endif | 915 #endif |
844 | 916 |
845 /* For the moment, Athena widgets and dialogs may be very unstable and not | 917 /* For the moment, Athena widgets and dialogs may be very unstable and not |
846 working well, but things under Windows work much better. configure by | 918 working well, but things under Windows work much better. configure by |
847 default tries to turn Windows widgets and dialogs on, but the Athena | 919 default tries to turn Windows widgets and dialogs on, but the Athena |
852 | 924 |
853 #if defined (HAVE_DIALOGS) && (defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_DIALOGS_ATHENA) || defined (LWLIB_DIALOGS_ATHENA3D)) | 925 #if defined (HAVE_DIALOGS) && (defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_DIALOGS_ATHENA) || defined (LWLIB_DIALOGS_ATHENA3D)) |
854 #define HAVE_X_DIALOGS | 926 #define HAVE_X_DIALOGS |
855 #endif | 927 #endif |
856 | 928 |
857 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) | 929 #ifdef HAVE_X_WINDOWS |
858 #define HAVE_POPUPS | 930 /* The following should always be defined, no matter what xmkmf thinks. */ |
931 #ifndef NeedFunctionPrototypes | |
932 #define NeedFunctionPrototypes 1 | |
933 #endif | |
934 #ifndef FUNCPROTO | |
935 #define FUNCPROTO 15 | |
936 #endif | |
937 #endif /* HAVE_X_WINDOWS */ | |
938 | |
939 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS) | |
940 #define XLIB_ILLEGAL_ACCESS 1 | |
941 #endif | |
942 | |
943 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | |
944 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_MSG_SELECT) | |
945 #define HAVE_UNIXOID_EVENT_LOOP | |
859 #endif | 946 #endif |
860 | 947 |
861 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch. | 948 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch. |
862 There is a stupid bug in the SunOS libc.a: two functions which X11r5 | 949 There is a stupid bug in the SunOS libc.a: two functions which X11r5 |
863 uses, mbstowcs() and wcstombs(), are unusable when programs are | 950 uses, mbstowcs() and wcstombs(), are unusable when programs are |
889 #define connect Rconnect | 976 #define connect Rconnect |
890 #define getsockname Rgetsockname | 977 #define getsockname Rgetsockname |
891 #define listen Rlisten | 978 #define listen Rlisten |
892 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */ | 979 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */ |
893 | 980 |
894 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */ | |
895 | |
896 #undef SIZEOF_SHORT | |
897 #undef SIZEOF_INT | |
898 #undef SIZEOF_LONG | |
899 #undef SIZEOF_LONG_LONG | |
900 #undef SIZEOF_VOID_P | |
901 #undef SIZEOF_DOUBLE | |
902 | |
903 /* some systems (Cygwin) typedef u?intptr_t in <sys/types.h> | |
904 but the standard is <inttypes.h> | |
905 ugliness due to last-resort conditional typedef'ing in lisp.h */ | |
906 #undef HAVE_INTPTR_T_IN_SYS_TYPES_H | |
907 | |
908 /* Does the keyword `inline' exist? */ | |
909 #undef inline | |
910 | |
911 #endif /* WIN32_NO_CONFIGURE */ | |
912 | |
913 #ifndef BITS_PER_CHAR | 981 #ifndef BITS_PER_CHAR |
914 #define BITS_PER_CHAR 8 | 982 #define BITS_PER_CHAR 8 |
915 #endif | 983 #endif |
916 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR) | 984 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR) |
917 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) | 985 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) |
918 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) | 986 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) |
919 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) | 987 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) |
920 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) | 988 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) |
921 #define DOUBLE_BITS (SIZEOF_DOUBLE * BITS_PER_CHAR) | 989 #define DOUBLE_BITS (SIZEOF_DOUBLE * BITS_PER_CHAR) |
922 | |
923 /* Enhanced numeric support */ | |
924 #undef WITH_NUMBER_TYPES | |
925 #undef WITH_GMP | |
926 #undef WITH_MP | |
927 #undef MP_PREFIX | |
928 #undef HAVE_MP_MOVE | |
929 | 990 |
930 /* Use `INLINE_HEADER' to define inline functions in .h files. | 991 /* Use `INLINE_HEADER' to define inline functions in .h files. |
931 Use `inline static' to define inline functions in .c files. | 992 Use `inline static' to define inline functions in .c files. |
932 See the Internals manual for examples and more information. */ | 993 See the Internals manual for examples and more information. */ |
933 | 994 |
985 #else | 1046 #else |
986 # define SETJMP(x) setjmp (x) | 1047 # define SETJMP(x) setjmp (x) |
987 # define LONGJMP(x, y) longjmp (x, y) | 1048 # define LONGJMP(x, y) longjmp (x, y) |
988 # define JMP_BUF jmp_buf | 1049 # define JMP_BUF jmp_buf |
989 #endif | 1050 #endif |
990 | |
991 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */ | |
992 | |
993 /* movemail options */ | |
994 /* Should movemail use POP3 for mail access? */ | |
995 #undef MAIL_USE_POP | |
996 /* Should movemail use kerberos for POP authentication? */ | |
997 #undef KERBEROS | |
998 /* Should movemail use hesiod for getting POP server host? */ | |
999 #undef HESIOD | |
1000 /* Determine type of mail locking. */ | |
1001 #undef MAIL_LOCK_LOCKF | |
1002 #undef MAIL_LOCK_FLOCK | |
1003 #undef MAIL_LOCK_DOT | |
1004 #undef MAIL_LOCK_LOCKING | |
1005 #undef MAIL_LOCK_MMDF | |
1006 | |
1007 #undef HAVE_MKSTEMP | |
1008 | |
1009 #undef PREFIX_USER_DEFINED | |
1010 #undef EXEC_PREFIX_USER_DEFINED | |
1011 #undef MODULEDIR_USER_DEFINED | |
1012 #undef SITEMODULEDIR_USER_DEFINED | |
1013 #undef DOCDIR_USER_DEFINED | |
1014 #undef LISPDIR_USER_DEFINED | |
1015 #undef PACKAGE_PATH_USER_DEFINED | |
1016 #undef SITELISPDIR_USER_DEFINED | |
1017 #undef ARCHLIBDIR_USER_DEFINED | |
1018 #undef ETCDIR_USER_DEFINED | |
1019 #undef INFODIR_USER_DEFINED | |
1020 #undef INFOPATH_USER_DEFINED | |
1021 | |
1022 #undef PDUMP | |
1023 | |
1024 #endif /* WIN32_NO_CONFIGURE */ | |
1025 | 1051 |
1026 /* For the moment, we go ahead and keep this, since it's used in mouse.el. | 1052 /* For the moment, we go ahead and keep this, since it's used in mouse.el. |
1027 #### font-lock does its own version using parse-partial-sexp. We should | 1053 #### font-lock does its own version using parse-partial-sexp. We should |
1028 merge the two. */ | 1054 merge the two. */ |
1029 #define USE_C_FONT_LOCK | 1055 #define USE_C_FONT_LOCK |