annotate src/config.h.in @ 5773:94a6b8fbd56e

Use a face, show more context around open parenthesis, #'blink-matching-open lisp/ChangeLog addition: 2013-12-17 Aidan Kehoe <kehoea@parhasard.net> * simple.el (blink-matching-open): When showing the opening parenthesis in the minibiffer, use the isearch face for it, in case there are multiple parentheses in the text shown. When writing moderately involved macros, it's often not enough just to show the backquote context before the parenthesis (e.g. @,.`). Skip over that when searching for useful context in the same way we skip over space and tab. * simple.el (message): * simple.el (lmessage): If there are no ARGS, don't call #'format. This allows extent information to be passed through to the minibuffer. It's probably better still to update #'format to preserve extent info.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 17 Dec 2013 20:49:52 +0200
parents a2912073be85
children a216b3c2b09e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 /* XEmacs site configuration template file. -*- C -*-
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc.
4991
97c45e3ad810 implement configure test for whether ndbm.h prototypes are broken
Ben Wing <ben@xemacs.org>
parents: 4969
diff changeset
3 Copyright (C) 2000, 2001, 2002, 2004, 2005, 2010 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5228
diff changeset
7 XEmacs is free software: you can redistribute it and/or modify it
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5228
diff changeset
9 Free Software Foundation, either version 3 of the License, or (at your
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5228
diff changeset
10 option) any later version.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5228
diff changeset
18 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 /* Significantly divergent from FSF. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 /* No code in XEmacs #includes config.h twice, but some of the code
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 intended to work with other packages as well (like gmalloc.c)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 think they can include it as many times as they like. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 #ifndef _SRC_CONFIG_H_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 #define _SRC_CONFIG_H_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
28 /* The proper format of this file:
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
29
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
30 1. All #undef statements that are changed by configure should go together,
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
31 BEFORE the inclusion of the s&m files, and need to be bracketed by
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
32 #ifndef WIN32_NO_CONFIGURE. There is currently only one exception to
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
33 this: SYSTEM_TYPE.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
34
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
35 2. All other code, except for the things that may be referenced in s&m
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
36 files (there is very very little of this) need to go AFTER the inclusion
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
37 of s&m files.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
38
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
39 Together, this ensures that the s&m files can override configure
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
40 determinations as necessary, and we will properly notice this.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
41 */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
42
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
43 /*
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
44 This file now serves both as config.h.in and simply as config.h under
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
45 Windows NT. Under Windows NT, there is no configure script that
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
46 operates, so it is necessary for the relevant constants to be set
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
47 manually, either by the user (for user options) or in s/windowsnt.h.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
48
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
49 Formerly, under NT there were three different places where constants
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
50 were defined -- nt/config.h, nt/xemacs.mak and s/windowsnt.h; now only
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
51 the latter two are used. (This separate config.h was a hassle because
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
52 it required constant synchronization between it and src/config.h.in.)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
53 Since the options that are substituted by configure are written in
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
54 config.h.in with #undef, it is easy to make this file serve as
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
55 config.h under Windows NT. Options that are set by the user are
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
56 specified in the file config.inc.samp, which is included by xemacs.mak
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
57 \(the makefile) and used to set command-line options to the
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
58 compiler. The sorts of options that relate to the system and not to
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
59 the user and which are normally auto-determined by configure are set
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
60 in windowsnt.h.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
61
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
62 What this means is that a little more care has to be taken in the way
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
63 things are arranged in config.h.in. In particular:
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
64
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
65 -- Everything that is written with a #undef should be bracketed by
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
66 #ifdef WIN32_NO_CONFIGURE, and these #ifdefs should in general be
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
67 grouped together as much as possible.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
68
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
69 -- Things that are not #undefs should not go inside this bracketed
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
70 #ifdef, because these things typically set constants based on other
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
71 constants and those latter constants may be set elsewhere under
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
72 Windows NT.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
73
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
74 -- Any #ifdefs that depend on constants that may be set in windowsnt.h
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
75 need to be moved after the point at which this file is
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
76 included. This applies for example to the error checking macros.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
77 */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
78
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
79 #if defined (WIN32_NATIVE) && !defined (MINGW)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
80 # define WIN32_NO_CONFIGURE
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
81 #endif
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
82
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 /* Use this to add code in a structured way to FSF-maintained source
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 files so as to make it obvious where XEmacs changes are. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 #define XEMACS 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
87 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
88
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
89 /* Program name */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
90 #undef EMACS_PROGNAME
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
91
4448
fd8a9a4d81d9 Support #!, to allow XEmacs to be called as a script interpreter.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4389
diff changeset
92 /* Name of the link to the program to be used with #! scripts */
fd8a9a4d81d9 Support #!, to allow XEmacs to be called as a script interpreter.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4389
diff changeset
93 #undef SHEBANG_PROGNAME
fd8a9a4d81d9 Support #!, to allow XEmacs to be called as a script interpreter.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4389
diff changeset
94
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
95 /* Allow s&m files to differentiate OS versions without having
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
96 multiple files to maintain. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
97 #undef OS_RELEASE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
98
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
99 /* The configuration name. This is used as the install directory name
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
100 for the lib-src programs. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 #undef EMACS_CONFIGURATION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 /* The configuration options. This is exported to Lisp. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 #undef EMACS_CONFIG_OPTIONS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 /* The version info from version.sh. Used in #pragma ident in emacs.c */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 #undef EMACS_MAJOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108 #undef EMACS_MINOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 #undef EMACS_PATCH_LEVEL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 #undef EMACS_BETA_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 #undef EMACS_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 #undef XEMACS_CODENAME
975
151d438d2d55 [xemacs-hg @ 2002-08-28 05:36:20 by youngs]
youngs
parents: 926
diff changeset
113 #undef XEMACS_EXTRA_NAME
2602
3d8cce0303fa [xemacs-hg @ 2005-02-22 07:15:59 by stephent]
stephent
parents: 2552
diff changeset
114 #undef XEMACS_RELEASE_DATE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
116 /* Make functions from IEEE Stds 1003.[123] available. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
117 #undef _POSIX_C_SOURCE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
118
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
119 /* Make some functions from Unix98 available. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
120 #undef _XOPEN_SOURCE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
121
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
122 /* Make "extensions" from Unix98 available. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
123 #undef _XOPEN_SOURCE_EXTENDED
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
124
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
125 /* Make all functions available on AIX. See AC_AIX. */
1294
8c5cf108f035 [xemacs-hg @ 2003-02-14 07:38:22 by stephent]
stephent
parents: 1284
diff changeset
126 /* Some AIX compilers (cc) pre-define _ALL_SOURCE, some (xlc) don't. */
1284
e61016c452cb [xemacs-hg @ 2003-02-10 17:28:03 by stephent]
stephent
parents: 1259
diff changeset
127 #ifndef _ALL_SOURCE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
128 #undef _ALL_SOURCE
1284
e61016c452cb [xemacs-hg @ 2003-02-10 17:28:03 by stephent]
stephent
parents: 1259
diff changeset
129 #endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 /* Make all functions available on GNU libc systems. See features.h. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 #undef _GNU_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
134 /* Make all functions available on Solaris 2 systems. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
135 #undef __EXTENSIONS__
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
136
1799
19c89a2e24b6 [xemacs-hg @ 2003-11-20 16:04:45 by james]
james
parents: 1790
diff changeset
137 /* Define to the name of the typeof extension, if the compiler supports one */
19c89a2e24b6 [xemacs-hg @ 2003-11-20 16:04:45 by james]
james
parents: 1790
diff changeset
138 #undef TYPEOF
19c89a2e24b6 [xemacs-hg @ 2003-11-20 16:04:45 by james]
james
parents: 1790
diff changeset
139
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 /* Used to identify the XEmacs version in stack traces. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 #undef STACK_TRACE_EYE_CATCHER
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 /* Allow the configurer to specify if she wants site-lisp. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 #undef INHIBIT_SITE_LISP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 /* Allow the configurer to specify if she wants site-modules. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 #undef INHIBIT_SITE_MODULES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 /* Undefine on systems which don't have processes */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150 #undef HAVE_UNIX_PROCESSES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 /* Define if you are using the GNU C Library. -- experimental. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153 #undef DOUG_LEA_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 /* Define if you are using libmcheck.a from the GNU C Library. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 #undef HAVE_LIBMCHECK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 /* Define if you are using dlmalloc from the Linux C library. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159 #undef _NO_MALLOC_WARNING_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 /* Use the system malloc? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 #undef USE_SYSTEM_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 /* Use a debugging malloc? -- experimental */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 #undef USE_DEBUG_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
167 /* Use the relocating allocator for buffer space? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
168 #undef REL_ALLOC
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
169
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
170 /* If using the C implementation of alloca, define if you know the
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
171 direction of stack growth for your system; otherwise it will be
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
172 automatically deduced at run-time.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
173 STACK_DIRECTION > 0 => grows toward higher addresses
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
174 STACK_DIRECTION < 0 => grows toward lower addresses
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
175 STACK_DIRECTION = 0 => direction of growth unknown */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
176 #undef STACK_DIRECTION
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
177
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
178 /* Is alloca() broken when part of an argument to a function call? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
179 #undef BROKEN_ALLOCA_IN_FUNCTION_CALLS
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
180
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
181 /* Define to 1 if you have `alloca', as a function or macro. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
182 #undef HAVE_ALLOCA
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
183
4759
aa5ed11f473b Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents: 4738
diff changeset
184 /* Define to 1 if you have <alloca.h> and it should be used. */
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
185 #undef HAVE_ALLOCA_H
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
186
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
187 /* Define to 1 if using `alloca.c'. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
188 #undef C_ALLOCA
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
189
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 /* Compile in TTY support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 #undef HAVE_TTY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 /* Compile in support for MS windows? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 #undef HAVE_MS_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196 /* special cygwin process handling? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
197 #undef HAVE_MSG_SELECT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
198
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199 /* Compile in support for the X window system? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 #undef HAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201
3354
15fb91e3a115 [xemacs-hg @ 2006-04-23 16:11:16 by stephent]
stephent
parents: 3308
diff changeset
202 /* Compile with support for fontconfig? */
15fb91e3a115 [xemacs-hg @ 2006-04-23 16:11:16 by stephent]
stephent
parents: 3308
diff changeset
203 #undef HAVE_FONTCONFIG
15fb91e3a115 [xemacs-hg @ 2006-04-23 16:11:16 by stephent]
stephent
parents: 3308
diff changeset
204
4328
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
205 /* Was the spelling of FcConfigGetRescanInterval corrected in this
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
206 fontconfig version? */
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
207 #undef HAVE_FCCONFIGGETRESCANINTERVAL
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
208
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
209 /* Was the spelling of FcConfigSetRescanInterval corrected in this
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
210 fontconfig version? */
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
211 #undef HAVE_FCCONFIGSETRESCANINTERVAL
dfd878799ef0 Autoconfiscate the recent fontconfig spelling change.
Aidan Kehoe <kehoea@parhasard.net>
parents: 3959
diff changeset
212
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3092
diff changeset
213 /* Compile with support for Xft? */
4916
a6c778975d7d split USE_XFT into HAVE_XFT/USE_XFT
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
214 #undef HAVE_XFT
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3092
diff changeset
215 /* Per-widget stuff will go away? */
4916
a6c778975d7d split USE_XFT into HAVE_XFT/USE_XFT
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
216 #undef HAVE_XFT_MENUBARS
a6c778975d7d split USE_XFT into HAVE_XFT/USE_XFT
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
217 #undef HAVE_XFT_TABS
a6c778975d7d split USE_XFT into HAVE_XFT/USE_XFT
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
218 #undef HAVE_XFT_GAUGES
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3092
diff changeset
219
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220 /* Defines for building X applications */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221 #ifdef HAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 /* The following will be defined if xmkmf thinks they are necessary */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 #undef SVR4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 #undef SYSV
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 #undef AIXV3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226 #undef _POSIX_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 #undef _BSD_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228 #undef _SVID_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
229 #undef X_LOCALE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
230 #undef NARROWPROTO
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
231 #endif /* HAVE_X_WINDOWS */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
232
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
233 /* Defines for building Gtk applications */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
234 #undef HAVE_GNOME
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
235 #undef HAVE_GTK
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
236 #undef HAVE_GDK_IMLIB_INIT
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
237 #undef HAVE_GLADE_GLADE_H
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
238 #undef HAVE_GLADE_H
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
239 #undef LIBGLADE_XML_TXTDOMAIN
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 460
diff changeset
240
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
241 /* XFree86 has a different prototype for this function */
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
242 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
243 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245 #undef THIS_IS_X11R4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 #undef THIS_IS_X11R5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 #undef THIS_IS_X11R6
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
249 #undef HAVE_XCONVERTCASE
2625
f2bd34928a0f [xemacs-hg @ 2005-03-01 22:43:31 by aidan]
aidan
parents: 2602
diff changeset
250 #undef HAVE_XTREGISTERDRAWABLE
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
251
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
252 #undef HAVE_BALLOON_HELP
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
253
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
254 /* Where do we find bitmaps? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
255 #undef BITMAPDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
257 /* Define AMPERSAND_FULL_NAME if you use the convention
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 that & in the full name stands for the login id. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259 #undef AMPERSAND_FULL_NAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261 /* Some things figured out by the configure script, grouped as they are in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262 configure.in. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 #undef HAVE_MCHECK_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
264 #undef HAVE_A_OUT_H
446
1ccc32a20af4 Import from CVS: tag r21-2-38
cvs
parents: 444
diff changeset
265 #undef HAVE_ELF_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
266 #undef HAVE_CYGWIN_VERSION_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
267 #undef HAVE_FCNTL_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
268 #undef HAVE_INTTYPES_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
269 #undef HAVE_LIBGEN_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
270 #undef HAVE_LOCALE_H
912
e10cdc51a200 [xemacs-hg @ 2002-07-09 11:58:12 by michaels]
michaels
parents: 872
diff changeset
271 #undef HAVE_WCHAR_H
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 #undef HAVE_MACH_MACH_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
273 #undef HAVE_SYS_PARAM_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
274 #undef HAVE_SYS_PSTAT_H
2263
702b5727498a [xemacs-hg @ 2004-09-11 05:28:11 by malcolmp]
malcolmp
parents: 2119
diff changeset
275 #undef HAVE_SYS_RESOURCE_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
276 #undef HAVE_SYS_TIME_H
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 #undef HAVE_SYS_TIMEB_H
777
e65d9cf16707 [xemacs-hg @ 2002-03-15 11:00:28 by ben]
ben
parents: 771
diff changeset
278 #undef HAVE_SYS_TIMES_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
279 #undef HAVE_SYS_UN_H
2263
702b5727498a [xemacs-hg @ 2004-09-11 05:28:11 by malcolmp]
malcolmp
parents: 2119
diff changeset
280 #undef HAVE_SYS_VLIMIT_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
281 #undef HAVE_ULIMIT_H
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 #undef HAVE_UNISTD_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
283
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 #undef HAVE_SYS_WAIT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 #undef HAVE_LIBINTL_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286 #undef HAVE_X11_XLOCALE_H
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
287
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
288 /* About __STDC__: Different compilers differ wrt __STDC__. Sunpro C
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
289 defines it, but its value is 0 unless we disable non-ANSI extensions.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
290 VC++ doesn't define it at all unless we disable non-ANSI extensions.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
291 But these compilers are all ANSI-compliant. So don't go testing
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
292 __STDC__ anywhere except in code that runs only on known
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
293 compilers. --ben
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
294
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
295 Jamie wrote the following:
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
296
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
297 [[ The ANSI standard says that defining __STDC__ to a non-zero value
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
298 means that the compiler conforms to that standard. The standard
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
299 requires certain header files and library functions to be present.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
300 Therefore, if your compiler defines __STDC__ to non-0 but does not have
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
301 ANSI headers and the ANSI library routines, then your compiler is
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
302 buggy. Conversely, an ANSI-conforming environment (which has both the
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
303 ANSI headers and library routines, i.e., stdlib.h and `memmove') does
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
304 not necessarily define the STDC_HEADERS flag. Lucid Emacs requires an
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
305 ANSI compiler. Therefore, there is no need to consult the abominable
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
306 STDC_HEADERS flag. -- jwz ]]
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
307
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
308 In reality, we should not be testing STDC_HEADERS at all except
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
309 possibly in code we're purposely keeping in close sync with FSF code.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
310 STDC_HEADERS should be defined on *ALL* compilers.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
311 */
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
312
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313 #undef STDC_HEADERS
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
314
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
315 #undef TIME_WITH_SYS_TIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
316 #undef WORDS_BIGENDIAN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
317
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
318 #undef HAVE_LONG_FILE_NAMES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
319
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
320 /* Use lock files to detect multiple edits of the same file? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
321 #undef CLASH_DETECTION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
322
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
323 /* Have shared library support */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
324 #undef HAVE_DLOPEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325 #undef HAVE_DLERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326 #undef HAVE__DLERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
327 #undef HAVE_SHL_LOAD
1383
517919955e3f [xemacs-hg @ 2003-03-26 04:22:47 by james]
james
parents: 1318
diff changeset
328 #undef HAVE_DYLD
2078
0bcc1e4dfd91 [xemacs-hg @ 2004-05-14 15:34:36 by james]
james
parents: 1983
diff changeset
329 #undef HAVE_LTDL
1259
d9c553868a01 [xemacs-hg @ 2003-02-05 10:07:26 by stephent]
stephent
parents: 1204
diff changeset
330 #undef DLSYM_NEEDS_UNDERSCORE
1790
0461b6ab9fbd [xemacs-hg @ 2003-11-14 15:16:17 by james]
james
parents: 1444
diff changeset
331 #undef HAVE_SHLIB
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332
5556
a142ad1a9140 Use dlsym() in preference to NSLookupSymbolInModule() on Darwin, if available.
Aidan Kehoe <kehoea@parhasard.net>
parents: 5510
diff changeset
333 #undef REALPATH_CORRECTS_CASE
a142ad1a9140 Use dlsym() in preference to NSLookupSymbolInModule() on Darwin, if available.
Aidan Kehoe <kehoea@parhasard.net>
parents: 5510
diff changeset
334 #undef DEFAULT_FILE_SYSTEM_IGNORE_CASE
4721
19d70297d866 Make readlink_or_correct_case function correctly on Darwin.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4699
diff changeset
335
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 #undef HAVE_LIBINTL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
337 #undef HAVE_LIBDNET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
338 #undef HAVE_LIBRESOLV
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
339
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
340 /* Is `sys_siglist' declared by <signal.h>? */
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
341 #undef HAVE_DECL_SYS_SIGLIST
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
342
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343 /* Is `struct timeval' declared by <sys/time.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
344 #undef HAVE_TIMEVAL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
345
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
346
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
347 #undef TM_IN_SYS_TIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
348 #undef HAVE_TM_ZONE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
349 #undef HAVE_TZNAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
350
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
351 /* For `getloadavg' provided by system */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
352 #undef HAVE_GETLOADAVG
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
353 #undef HAVE_SYS_LOADAVG_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
354 /* For implementing `getloadavg' ourselves */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
355 #undef HAVE_LIBKSTAT
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
356 #undef HAVE_KSTAT_H
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
357
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358 /* Is `h_errno' declared by <netdb.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359 #undef HAVE_H_ERRNO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
361 /* Does `localtime' cache TZ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
362 #undef LOCALTIME_CACHE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
363
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
364 /* Can `gettimeofday' accept two arguments? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
365 #undef GETTIMEOFDAY_ONE_ARGUMENT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
366
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
367 /* Is scanf() broken? (Under certain versions of Cygwin) */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
368 #undef CYGWIN_SCANF_BUG
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
369
4834
b3ea9c582280 Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents: 4833
diff changeset
370 /* UTF-8-aware path-conversion function in Cygwin 1.7 and on */
b3ea9c582280 Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents: 4833
diff changeset
371 #undef HAVE_CYGWIN_CONV_PATH
b3ea9c582280 Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents: 4833
diff changeset
372
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
373 #undef HAVE_MMAP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
374 #undef HAVE_STRCOLL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
375 #undef HAVE_GETPGRP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
376 #undef GETPGRP_VOID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
377
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
378 #undef HAVE_INVERSE_HYPERBOLIC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
379
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
380 /* Functions in the big list of functions checked for */
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
381 #undef HAVE_CBRT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 #undef HAVE_CLOSEDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383 #undef HAVE_DUP2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
384 #undef HAVE_EACCESS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 #undef HAVE_FMOD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386 #undef HAVE_FPATHCONF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387 #undef HAVE_FREXP
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
388 #undef HAVE_FSYNC
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389 #undef HAVE_FTIME
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
390 #undef HAVE_FTRUNCATE
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
391 #undef HAVE_GETADDRINFO
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392 #undef HAVE_GETHOSTNAME
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
393 #undef HAVE_GETNAMEINFO
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 #undef HAVE_GETPAGESIZE
2263
702b5727498a [xemacs-hg @ 2004-09-11 05:28:11 by malcolmp]
malcolmp
parents: 2119
diff changeset
395 #undef HAVE_GETRLIMIT
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396 #undef HAVE_GETTIMEOFDAY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397 #undef HAVE_GETCWD
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
398 #undef HAVE_LINK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 #undef HAVE_LOGB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 #undef HAVE_LRAND48
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401 #undef HAVE_MATHERR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 #undef HAVE_MKDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 #undef HAVE_MKTIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 #undef HAVE_PERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
405 #undef HAVE_POLL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 #undef HAVE_RANDOM
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
407 #undef HAVE_READLINK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 #undef HAVE_RENAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 #undef HAVE_RES_INIT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 #undef HAVE_RMDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 #undef HAVE_SELECT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412 #undef HAVE_SETITIMER
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 #undef HAVE_SETPGID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 #undef HAVE_SETSID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415 #undef HAVE_SIGBLOCK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
416 #undef HAVE_SIGHOLD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 #undef HAVE_SIGPROCMASK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 #undef HAVE_SNPRINTF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419 #undef HAVE_STRERROR
1204
e22b0213b713 [xemacs-hg @ 2003-01-12 11:07:58 by michaels]
michaels
parents: 1104
diff changeset
420 #undef HAVE_STRLWR
e22b0213b713 [xemacs-hg @ 2003-01-12 11:07:58 by michaels]
michaels
parents: 1104
diff changeset
421 #undef HAVE_STRUPR
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
422 #undef HAVE_SYMLINK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
423 #undef HAVE_TZSET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
424 #undef HAVE_ULIMIT
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
425 #undef HAVE_UMASK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
426 #undef HAVE_USLEEP
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
427 #undef HAVE_VLIMIT
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
428 #undef HAVE_VSNPRINTF
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
429 #undef HAVE_WAITPID
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
430 #undef HAVE_WCSCMP
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
431 #undef HAVE_WCSLEN
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
432
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
433 /* Functions and structs checked for vdb. */
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
434 #undef HAVE_MPROTECT
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
435 #undef HAVE_SIGACTION
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
436 #undef HAVE_STRUCT_SIGINFO_SI_ADDR
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
437 #undef HAVE_SIGINFO_T_SI_ADDR
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
438 #undef HAVE_SIGNAL
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
439 #undef HAVE_STRUCT_SIGCONTEXT_CR2
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
440
460
223736d75acb Import from CVS: tag r21-2-45
cvs
parents: 458
diff changeset
441 #undef HAVE_UTIME
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
442 #undef HAVE_UTIMES
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
443 #undef HAVE_SIGSETJMP
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
444
535
c69610198c35 [xemacs-hg @ 2001-05-14 04:52:02 by martinb]
martinb
parents: 462
diff changeset
445 /* Many flavors of PTY support */
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
446 /* glibc's easy pty allocation function */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
447 #undef HAVE_GETPT
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
448 /* SGI's easy pty allocation function */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
449 #undef HAVE__GETPTY
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
450 /* BSD's easy pty allocation function */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
451 #undef HAVE_OPENPTY
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
452 /* Unix98 */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
453 #undef HAVE_GRANTPT
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
454 /* Unix98 */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
455 #undef HAVE_UNLOCKPT
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
456 /* Unix98 */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
457 #undef HAVE_PTSNAME
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
458 /* BSD */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
459 #undef HAVE_KILLPG
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
460 /* Posix 1 */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
461 #undef HAVE_TCGETPGRP
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
462 /* SysV streams */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
463 #undef HAVE_ISASTREAM
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
464 /* AIX */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
465 #undef HAVE_SYS_PTY_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
466 /* HP-UX */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
467 #undef HAVE_SYS_PTYIO_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
468 /* Linux, Tru64 */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
469 #undef HAVE_PTY_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
470 /* BSD openpty */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
471 #undef HAVE_LIBUTIL_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
472 /* NetBSD openpty */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
473 #undef HAVE_UTIL_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
474 /* SysV streams */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
475 #undef HAVE_STROPTS_H
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
476 /* SysV streams TIOCSIGNAL */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
477 #undef HAVE_STRTIO_H
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
478
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
479 #undef HAVE_SOCKETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
480 #undef HAVE_SOCKADDR_SUN_LEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
481 #undef HAVE_MULTICAST
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
482 #undef HAVE_SYSVIPC
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
483 #undef HAVE_LOCKF
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
484 #undef HAVE_FLOCK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
485
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
486 #undef SYSV_SYSTEM_DIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
487 #undef NONSYSTEM_DIR_LIBRARY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
488
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
489 #undef HAVE_TERMIOS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
490 #undef HAVE_TERMIO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
491 #undef NO_TERMIO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492 #undef SIGNALS_VIA_CHARACTERS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 #undef NLIST_STRUCT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
495
724
76d5a3dd827a [xemacs-hg @ 2002-01-05 07:33:11 by stephent]
stephent
parents: 665
diff changeset
496 /* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */
76d5a3dd827a [xemacs-hg @ 2002-01-05 07:33:11 by stephent]
stephent
parents: 665
diff changeset
497 #undef IPV6_CANONICALIZE
76d5a3dd827a [xemacs-hg @ 2002-01-05 07:33:11 by stephent]
stephent
parents: 665
diff changeset
498
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
499 /* Compile in support for SOCKS? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
500 #undef HAVE_SOCKS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
501
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
502 /* Compile in support for X pixmaps via the `xpm' library? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
503 #undef HAVE_XPM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
504 #undef FOR_MSW
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
505
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506 /* Compile in support for "X faces" via the `compface' library?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
507 This enables graphical display of X-face headers in mail/news messages */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
508 #undef HAVE_XFACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
509
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
510 /* Compile in support for JPEG images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
511 #undef HAVE_JPEG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
512
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
513 /* Compile in support for TIFF images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
514 #undef HAVE_TIFF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
516 /* Compile in support for GIF images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
517 #undef HAVE_GIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
518
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
519 /* Compile in support for PNG images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
520 #undef HAVE_PNG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
521
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
522 /* Compile in support for GZIP compression */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
523 #undef HAVE_ZLIB
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
524
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
525 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
526 #undef HAVE_DBM
4699
0e1461b592ce Check for gdbm/ndbm.h, too.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4497
diff changeset
527 /* Full #include file path for GDBM's or platforms ndbm.h */
0e1461b592ce Check for gdbm/ndbm.h, too.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4497
diff changeset
528 #undef NDBM_H_FILE
4991
97c45e3ad810 implement configure test for whether ndbm.h prototypes are broken
Ben Wing <ben@xemacs.org>
parents: 4969
diff changeset
529 /* Can we trust the prototypes in ndbm.h? If not, we need to declare our own */
97c45e3ad810 implement configure test for whether ndbm.h prototypes are broken
Ben Wing <ben@xemacs.org>
parents: 4969
diff changeset
530 #undef TRUST_NDBM_H_PROTOTYPES
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
531
3739
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
532 /* Define to 1 if the system has the type `u_int8_t'. */
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
533 #undef HAVE_U_INT8_T
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
534 /* Define to 1 if the system has the type `u_int16_t'. */
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
535 #undef HAVE_U_INT16_T
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
536 /* Define to 1 if the system has the type `u_int32_t'. */
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
537 #undef HAVE_U_INT32_T
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
538 /* Define to 1 if the system has the type `u_int64_t'. */
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
539 #undef HAVE_U_INT64_T
6d4dc9ec7240 [xemacs-hg @ 2006-12-11 19:43:57 by aidan]
aidan
parents: 3493
diff changeset
540
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 /* Compile in support for Berkeley DB style databases? May require libdb. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542 #undef HAVE_BERKELEY_DB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
543 /* Full #include file path for Berkeley DB's db.h */
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
544 #undef DB_H_FILE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
545
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
546 /* Do we have either DBM or Berkeley DB database support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
547 #undef HAVE_DATABASE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
548
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 /* Do we have LDAP support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
550 #undef HAVE_LDAP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 /* Does the library define ldap_set_option () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552 #undef HAVE_LDAP_SET_OPTION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
553 /* Does the library define ldap_get_lderrno () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 #undef HAVE_LDAP_GET_LDERRNO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
555 /* Does the library define ldap_result2error () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
556 #undef HAVE_LDAP_RESULT2ERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
557 /* Does the library define ldap_parse_result () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
558 #undef HAVE_LDAP_PARSE_RESULT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
559
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
560 /* Do we have PostgreSQL RDBMS support? */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
561 #undef HAVE_POSTGRESQL
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
562 #undef HAVE_POSTGRESQLV7
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
563 /* main PostgreSQL header file */
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 2625
diff changeset
564 #undef LIBPQ_FE_H_FILE
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
565
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
566 /* Do you have the Xauth library present? This will add some extra
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
567 functionality to gnuserv. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
568 #undef HAVE_XAUTH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
569
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
570 /* Compile in support for gpm (General Purpose Mouse)? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
571 #undef HAVE_GPM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
572
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
573 /* Compile in support for ncurses? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
574 #undef HAVE_NCURSES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
575 /* Full #include file paths for ncurses' curses.h and term.h. */
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
576 #undef CURSES_H_FILE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
577 #undef TERM_H_FILE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
578
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
579 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
580 If the assertion fails, assert_failed() will be called. This is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
581 recommended for general use because it gives more info about the crash
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
582 than just the abort() message. Too many people "Can't find the corefile"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583 or have limit-ed core dumps out of existence. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
584 #undef USE_ASSERTIONS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
585
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
586 /* Define one or more of the following if you want lots of extra checks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
587 (e.g. structure validation) compiled in. These should be turned
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
588 on during the beta-test cycle.
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
589
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
590 Keep macro names sorted to help with syncing this file to configure.ac.
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
591 Don't forget the ERROR_CHECK_ALL stuff at the end of this file. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
592
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
593 /* Minor sanity checking of the bytecode interpreter. Useful for
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
594 debugging the byte compiler. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
595 #undef ERROR_CHECK_BYTE_CODE
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
596
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
597 /* Sanity-check the redisplay structures after each modification. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
598 #undef ERROR_CHECK_DISPLAY
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600 /* Check the entire extent structure of a buffer each time an extent
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601 change is done, and do other extent-related checks. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
602 #undef ERROR_CHECK_EXTENTS
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
603
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
604 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
605 #undef ERROR_CHECK_GC
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
606
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
607 /* Minor sanity checking of glyphs, especially subwindows and
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
608 widgets. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
609 #undef ERROR_CHECK_GLYPHS
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
610
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
611 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
612 #undef ERROR_CHECK_MALLOC
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
613
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
614 /* Define for any sanity checks on structures that are not handled by a
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
615 more specific error-checking type. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
616 #undef ERROR_CHECK_STRUCTURES
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
617
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
618 /* Turn on checks related to text -- check that text in strings and buffers
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
619 is in a valid format before we use it, check that buffer positions are
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
620 valid, etc. */
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
621 #undef ERROR_CHECK_TEXT
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
622
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
623 /* Turn on checks related to types -- make sure that all X... macros are
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
624 dereferencing the correct type, and that all XSET... macros (as much as
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
625 possible) are setting the correct type of structure; check any other
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
626 places that a specific type is expected. */
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
627 #undef ERROR_CHECK_TYPES
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
628
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630 This is mainly intended for use by developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
631 #undef DEBUG_XEMACS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
632
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
633 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
634 determine where XEmacs' memory is going. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
635 #undef MEMORY_USAGE_STATS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636
460
223736d75acb Import from CVS: tag r21-2-45
cvs
parents: 458
diff changeset
637 /* Define QUANTIFY if using Quantify from Rational Software.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 This adds some additional calls to control data collection.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639 It is only intended for use by the developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
640 #undef QUANTIFY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
641
460
223736d75acb Import from CVS: tag r21-2-45
cvs
parents: 458
diff changeset
642 /* Define PURIFY if using Purify from Rational Software.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
643 It is only intended for use by the developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
644 #undef PURIFY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645
4803
5d120deb60ca Enable rudimentary support for valgrind, including functions that tell valgrind
Jerry James <james@xemacs.org>
parents: 4790
diff changeset
646 /* Define USE_VALGRIND to compile valgrind hints into the code.
5d120deb60ca Enable rudimentary support for valgrind, including functions that tell valgrind
Jerry James <james@xemacs.org>
parents: 4790
diff changeset
647 It is only intended for use by the developers. */
5d120deb60ca Enable rudimentary support for valgrind, including functions that tell valgrind
Jerry James <james@xemacs.org>
parents: 4790
diff changeset
648 #undef USE_VALGRIND
5d120deb60ca Enable rudimentary support for valgrind, including functions that tell valgrind
Jerry James <james@xemacs.org>
parents: 4790
diff changeset
649
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
650 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
651 widget within another program. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
652 #undef EXTERNAL_WIDGET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
653
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
654 /* There are some special-case defines for gcc, g++ and lcc. */
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655 #undef USE_GCC
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
656 #undef USE_GPLUSPLUS
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
657 #undef USE_LCC /* #### Not currently set in configure */
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
659 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
660 Requires libDtSvc, which typically must be present at runtime. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661 #undef HAVE_CDE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
662
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663 /* Compile in generic Drag'n'Drop API */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664 #undef HAVE_DRAGNDROP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666 /* Compile in support for proper handling of WM_COMMAND. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667 #undef HAVE_WMCOMMAND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
668
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669 /* Define this if you want Mule support (multi-byte character support).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
670 There may be some performance penalty, although it should be small
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
671 if you're working with ASCII files. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
672 #undef MULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
673
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
674 /* Define this if you want EOL detection of files to be on by default
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
675 in a non-Mule Unix; otherwise, defaults will be set so that all
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
676 files are read in as binary. Doesn't apply to Cygwin or MinGW. */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
677 #undef HAVE_DEFAULT_EOL_DETECTION
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
678
1259
d9c553868a01 [xemacs-hg @ 2003-02-05 10:07:26 by stephent]
stephent
parents: 1204
diff changeset
679 /* Support X FontSets. Evil, yes, but if we're going to make it go away
d9c553868a01 [xemacs-hg @ 2003-02-05 10:07:26 by stephent]
stephent
parents: 1204
diff changeset
680 by using faces in the menubar we should do so. */
d9c553868a01 [xemacs-hg @ 2003-02-05 10:07:26 by stephent]
stephent
parents: 1204
diff changeset
681 #undef USE_XFONTSET
d9c553868a01 [xemacs-hg @ 2003-02-05 10:07:26 by stephent]
stephent
parents: 1204
diff changeset
682
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
683 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
684 If so, use raw Xlib or higher level Motif interface? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
685 #undef HAVE_XIM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 #undef XIM_XLIB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
687 #undef XIM_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
688
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
689 /* Non-XIM input methods for use with Mule. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
690 #undef HAVE_CANNA
3830
e58f4b9ab1ad [xemacs-hg @ 2007-02-15 16:11:52 by stephent]
stephent
parents: 3739
diff changeset
691 #undef CANNA_NEW_WCHAR_AWARE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
692 #undef HAVE_WNN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
693 #undef WNN6
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
694
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
695 /* Debugging development option: Remove inessential but time consuming
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
696 actions from happening during build. This saves a lot of time when
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
697 you're repeatedly compiling-running-crashing. This (1) doesn't
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
698 garbage-collect after loading each file during dumping, and (2)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
699 doesn't automatically rebuild the DOC file. (Remove it by hand to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
700 get it rebuilt.)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
701 */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
702 #undef QUICK_BUILD
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
703
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
704 /* If true, run the compiler with many files at once rather than one at a
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
705 time. May speed up compilation time with some compilers, particularly
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
706 if the entire compilation happens in a single process -- the process can
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
707 cache the results of processing include files. This definitely helps
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
708 with VC++ (although it doesn't use Makefile.in.in) but not with GCC,
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
709 which runs many processes per file to compile. */
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
710 #undef BATCH_COMPILER_RUNS
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
711
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
712 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
713 seem to require this, probably because something with the int
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
714 definitions isn't right with 64-bit systems. */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
715 #undef USE_UNION_TYPE
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
716
926
4f61e79f8a14 [xemacs-hg @ 2002-07-16 08:27:09 by michaels]
michaels
parents: 912
diff changeset
717 /* If defined, use experimental pdump-based GC algorithms. */
4f61e79f8a14 [xemacs-hg @ 2002-07-16 08:27:09 by michaels]
michaels
parents: 912
diff changeset
718 #undef USE_KKCC
4f61e79f8a14 [xemacs-hg @ 2002-07-16 08:27:09 by michaels]
michaels
parents: 912
diff changeset
719
3263
d674024a8674 [xemacs-hg @ 2006-02-27 16:29:00 by crestani]
crestani
parents: 3179
diff changeset
720 /* If defined, use experimental incremental garbage collector and new
d674024a8674 [xemacs-hg @ 2006-02-27 16:29:00 by crestani]
crestani
parents: 3179
diff changeset
721 allocator. */
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
722 #undef NEW_GC
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
723
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
724 /* Virtual dirty bit implementation for incremental gc. */
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
725 #undef VDB_POSIX
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
726 #undef VDB_MACH
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
727 #undef VDB_WIN32
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
728 #undef VDB_FAKE
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 3026
diff changeset
729
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
730 /* Enable special GNU Make features in the Makefiles. */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
731 #undef USE_GNU_MAKE
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
732
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
733 /* Defined by AC_C_CONST in configure.in */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 #undef const
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
735
434
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
736 /* Allow the source to use standard types. Include these before the
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
737 s&m files so that they can use them. */
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
738 #undef ssize_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
739 #undef size_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
740 #undef pid_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
741 #undef mode_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
742 #undef off_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
743 #undef uid_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
744 #undef gid_t
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
745 #undef socklen_t
434
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
746
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
747 /* Enhanced numeric support */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
748 #undef WITH_NUMBER_TYPES
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
749 #undef WITH_GMP
5739
a2912073be85 Support bignums with MPIR. Add documentation on the bignum, ratio,
Jerry James <james@xemacs.org>
parents: 5736
diff changeset
750 #undef WITH_MPIR
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
751 #undef WITH_MP
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
752 #undef MP_PREFIX
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
753 #undef HAVE_MP_MOVE
5736
3192994c49ca Convert C (un)signed long long values to bignums properly.
Jerry James <james@xemacs.org>
parents: 5732
diff changeset
754 #undef HAVE_MP_SET_MEMORY_FUNCTIONS
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
755
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
756 #undef SIZEOF_SHORT
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
757 #undef SIZEOF_INT
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
758 #undef SIZEOF_LONG
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
759 #undef SIZEOF_LONG_LONG
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
760 #undef SIZEOF_VOID_P
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
761 #undef SIZEOF_DOUBLE
5727
86d33ddc7fd6 Avoid EOVERFLOW from stat() calls due to overflowing inode numbers.
Jerry James <james@xemacs.org>
parents: 5558
diff changeset
762 #undef SIZEOF_OFF_T
86d33ddc7fd6 Avoid EOVERFLOW from stat() calls due to overflowing inode numbers.
Jerry James <james@xemacs.org>
parents: 5558
diff changeset
763
86d33ddc7fd6 Avoid EOVERFLOW from stat() calls due to overflowing inode numbers.
Jerry James <james@xemacs.org>
parents: 5558
diff changeset
764 /* Large file support */
5732
02d0124c6314 AC_FUNC_SEEKO is the name of the autoconf macro. HAVE_FSEEKO is the name
Jerry James <james@xemacs.org>
parents: 5730
diff changeset
765 #undef HAVE_FSEEKO
615
4f50f8a33f96 [xemacs-hg @ 2001-06-11 04:44:52 by martinb]
martinb
parents: 567
diff changeset
766
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
767 /* some systems (Cygwin) typedef u?intptr_t in <sys/types.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
768 but the standard is <inttypes.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
769 ugliness due to last-resort conditional typedef'ing in lisp.h */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
770 #undef HAVE_INTPTR_T_IN_SYS_TYPES_H
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
771
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
772 /* Does the keyword `inline' exist? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
773 #undef inline
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
774
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
775 /* movemail options */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
776 /* Should movemail use POP3 for mail access? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
777 #undef MAIL_USE_POP
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
778 /* Should movemail use kerberos for POP authentication? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
779 #undef KERBEROS
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
780 /* Should movemail use hesiod for getting POP server host? */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
781 #undef HESIOD
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
782 /* Determine type of mail locking. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
783 #undef MAIL_LOCK_LOCKF
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
784 #undef MAIL_LOCK_FLOCK
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
785 #undef MAIL_LOCK_DOT
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
786 #undef MAIL_LOCK_LOCKING
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
787 #undef MAIL_LOCK_MMDF
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
788
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
789 #undef HAVE_MKSTEMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
790
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
791 #undef PREFIX_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
792 #undef EXEC_PREFIX_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
793 #undef MODULEDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
794 #undef SITEMODULEDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
795 #undef DOCDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
796 #undef LISPDIR_USER_DEFINED
3179
15139dbf89f4 [xemacs-hg @ 2005-12-27 18:50:47 by michaels]
michaels
parents: 3094
diff changeset
797 #undef EARLY_PACKAGE_DIRECTORIES_USER_DEFINED
15139dbf89f4 [xemacs-hg @ 2005-12-27 18:50:47 by michaels]
michaels
parents: 3094
diff changeset
798 #undef LATE_PACKAGE_DIRECTORIES_USER_DEFINED
15139dbf89f4 [xemacs-hg @ 2005-12-27 18:50:47 by michaels]
michaels
parents: 3094
diff changeset
799 #undef LAST_PACKAGE_DIRECTORIES_USER_DEFINED
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
800 #undef PACKAGE_PATH_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
801 #undef SITELISPDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
802 #undef ARCHLIBDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
803 #undef ETCDIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
804 #undef INFODIR_USER_DEFINED
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
805 #undef INFOPATH_USER_DEFINED
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
806
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
807 #undef PDUMP
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 851
diff changeset
808
2720
6fa9919a9a0b [xemacs-hg @ 2005-04-08 23:10:01 by crestani]
crestani
parents: 2651
diff changeset
809 /* Define DUMP_IN_EXEC to include the dump file in the executable
6fa9919a9a0b [xemacs-hg @ 2005-04-08 23:10:01 by crestani]
crestani
parents: 2651
diff changeset
810 file. */
6fa9919a9a0b [xemacs-hg @ 2005-04-08 23:10:01 by crestani]
crestani
parents: 2651
diff changeset
811 #undef DUMP_IN_EXEC
6fa9919a9a0b [xemacs-hg @ 2005-04-08 23:10:01 by crestani]
crestani
parents: 2651
diff changeset
812
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
813 /* Compile in support for Sun Sparcworks/WorkShop? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
814 #undef SUNPRO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
817 support for playing sound files. (On Suns, the sound support is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818 usually found in /usr/demo/SOUND - you may need to install the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
819 "SUNWaudmo" package.) */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
820 #undef HAVE_NATIVE_SOUND
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
821
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
822 /* Native sound may be provided via soundcard.h, in various directories */
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
823 #undef SOUNDCARD_H_FILE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
824
3308
34cfe24248f6 [xemacs-hg @ 2006-03-27 17:40:45 by james]
james
parents: 3263
diff changeset
825 /* Compile in support for ALSA (Advanced Linux Sound Architecture) */
34cfe24248f6 [xemacs-hg @ 2006-03-27 17:40:45 by james]
james
parents: 3263
diff changeset
826 #undef HAVE_ALSA_SOUND
34cfe24248f6 [xemacs-hg @ 2006-03-27 17:40:45 by james]
james
parents: 3263
diff changeset
827
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
828 /* Compile in support for NAS (Network Audio System)?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
829 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
830 error handling changes. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
831 #undef HAVE_NAS_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
832 #undef NAS_NO_ERROR_JUMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
833
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
834 /* Compile in support for ESD (Enlightened Sound Daemon)? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
835 #undef HAVE_ESD_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
836
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837 /* Compile in support for SunPro usage-tracking code? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838 #undef USAGE_TRACKING
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840 /* Compile in support for Tooltalk? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 #undef TOOLTALK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
843 #undef TT_C_H_FILE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 /* Toolkits used by lwlib for various widgets... */
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
846
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
847 #undef LWLIB_USES_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
848 #undef LWLIB_USES_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
849 #undef LWLIB_MENUBARS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
850 #undef LWLIB_MENUBARS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
851 #undef LWLIB_SCROLLBARS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
852 #undef LWLIB_SCROLLBARS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
853 #undef LWLIB_SCROLLBARS_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
854 #undef LWLIB_SCROLLBARS_ATHENA3D
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
855 #undef LWLIB_DIALOGS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
856 #undef LWLIB_DIALOGS_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
857 #undef LWLIB_DIALOGS_ATHENA3D
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
858 #undef LWLIB_TABS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
859 #undef LWLIB_WIDGETS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
860 #undef LWLIB_WIDGETS_ATHENA
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
861 #undef HAVE_ATHENA_3D
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
862
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
863 /* Other things that can be disabled by configure. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
864 #undef HAVE_MENUBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
865 #undef HAVE_SCROLLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
866 #undef HAVE_DIALOGS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
867 #undef HAVE_TOOLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
868 #undef HAVE_WIDGETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
869
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
870 #endif /* WIN32_NO_CONFIGURE */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
871
2994
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
872 #ifdef _MSC_VER
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
873 /* Turn off tons of C4996 warnings in VC 8 about standard functions being
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
874 "deprecated" in favor of Microsoft-specific "secure" ones (!)
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
875 This must go *before* the inclusion of any system files. */
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
876 #define _CRT_SECURE_NO_DEPRECATE
4457
2fddd822ce87 #define _CRT_NONSTDC_NO_DEPRECATE on Win32
Aidan Kehoe <kehoea@parhasard.net>
parents: 4448
diff changeset
877 #define _CRT_NONSTDC_NO_DEPRECATE
2994
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
878 #endif
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
879
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
880 /* alloca twiddling.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
881 Because we might be #including alloca.h here, feature test macros
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
882 such as _XOPEN_SOURCE must be defined above.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
883
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
884 #### This really should go below the inclusion of s&m files, like
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
885 everything else. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
886
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
887 #ifndef NOT_C_CODE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
888 #if defined (__CYGWIN__)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
889 /* We get complaints about redefinitions if we just use the __GNUC__
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
890 definition: stdlib.h also includes alloca.h, which defines it slightly
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
891 differently */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
892 #include <alloca.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
893 #elif defined (__GNUC__)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
894 #define alloca __builtin_alloca
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
895 #elif defined (WIN32_NO_CONFIGURE)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
896 /* Defines size_t and alloca (). */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
897 #include <malloc.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
898 #elif defined (__DECC)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
899 #include <alloca.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
900 #pragma intrinsic(alloca)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
901 #elif defined (HAVE_ALLOCA_H)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
902 #include <alloca.h>
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
903 #elif defined (_AIX)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
904 /* AIX requires this before any "real" code in the translation unit. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
905 #pragma alloca
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
906 #elif ! defined (alloca)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
907 #ifdef C_ALLOCA
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
908 #define alloca xemacs_c_alloca
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
909 #else
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
910 void *alloca ();
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
911 #endif /* C_ALLOCA */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
912 #endif /* !defined (alloca) */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
913 #endif /* C code */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
914
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
915 /* The configuration script may define `opsysfile' to be the name of
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
916 the s/...h file that describes your operating system.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
917 The file name is chosen based on the configuration name. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
918
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
919 #if defined (__cplusplus) && !defined (NOT_C_CODE)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
920 extern "C" {
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
921 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
922
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
923 #undef config_opsysfile
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
924 #ifdef WIN32_NO_CONFIGURE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
925 #include "s/windowsnt.h"
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
926 #elif defined (config_opsysfile)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
927 #include config_opsysfile
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
928 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
929
4738
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
930 /* Darwin uses this to set BSD appropriately. */
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
931 #undef USE_PARAM_H
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
932 #ifdef USE_PARAM_H
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
933 # ifndef NOT_C_CODE
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
934 # include <sys/param.h>
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
935 # endif
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
936 #endif
a6f27e2b3d84 Move functionality of s/darwin.h to configure.ac and config.h.in.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4735
diff changeset
937
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
938 /* The configuration script may define `machfile' to be the name of
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
939 the m/...h file that describes the machine you are using.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
940 The file name is chosen based on the configuration name. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
941
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
942 #undef config_machfile
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
943 #ifdef WIN32_NO_CONFIGURE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
944 #include "m/windowsnt.h"
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
945 #elif defined (config_machfile)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
946 #include config_machfile
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
947 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
948
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
949 #if defined (__cplusplus) && !defined (NOT_C_CODE)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
950 }
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
951 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
952
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
953 /* USER_FULL_NAME returns a string that is the user's full name.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
954 It can assume that the variable `pw' points to the password file
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
955 entry for this user.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
956
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
957 At some sites, the pw_gecos field contains the user's full name.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
958 If neither this nor any other field contains the right thing, use
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
959 pw_name, giving the user's login name, since that is better than
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
960 nothing. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
961 #define USER_FULL_NAME pw->pw_gecos
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
962
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
963 #define XEMACS_WANTS_C_ALLOCA
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
964
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
965 /* s&m files shouldn't be required to define anything, or even to exist.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
966 If the s&m files don't define SYSTEM_TYPE, configure will select an
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
967 appropriate default value. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
968 #ifndef SYSTEM_TYPE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
969 #undef SYSTEM_TYPE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
970 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
971
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
972 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
973 #define SYSTEM_MALLOC
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
974 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
975
2994
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
976 /* This enables type based information (updated during gc). The output
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
977 is used by show-memory-usage to print memory information for each
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
978 type. Since the new allocator does not distinguish between types
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
979 anymore, this functionality is additionally implemented and
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
980 consumes a lot of time. That is why this functionality can be
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
981 disabled; for the moment, we keep it enabled. */
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
982 #if !defined (MC_ALLOC) || 1
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
983 # define ALLOC_TYPE_STATS 1
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
984 #endif
ec5f23ea6d2e [xemacs-hg @ 2005-10-14 01:21:57 by ben]
ben
parents: 2720
diff changeset
985
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
986 /* Define the return type of signal handlers if the s/xxx.h file
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
987 did not already do so. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
988 #define RETSIGTYPE void
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
989
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
990 #ifndef XCDECL
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
991 #define XCDECL
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
992 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
993
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
994 /* SIGTYPE is the macro we actually use. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
995 #ifndef SIGTYPE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
996 #define SIGTYPE RETSIGTYPE XCDECL
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
997 #define SIGRETURN return
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
998 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
999
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1000 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
4759
aa5ed11f473b Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents: 4738
diff changeset
1001 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined (HAVE_MS_WINDOWS)
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1002 #define HAVE_WINDOW_SYSTEM
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1003 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1004
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1005 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS) || defined (HAVE_WIDGETS)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1006 #define HAVE_GUI_OBJECTS
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1007 #endif
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1008
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1009 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1010 #define HAVE_POPUPS
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1011 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1012
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1013 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1014 #define HAVE_XLIKE
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1015 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1016
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1017 /* For the moment, Athena widgets and dialogs may be very unstable and not
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1018 working well, but things under Windows work much better. configure by
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1019 default tries to turn Windows widgets and dialogs on, but the Athena
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1020 ones off, so let's separate the defines. */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1021 #if defined (HAVE_WIDGETS) && (defined (LWLIB_WIDGETS_MOTIF) || defined (LWLIB_WIDGETS_ATHENA))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1022 #define HAVE_X_WIDGETS
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1023 #endif
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1024
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1025 #if defined (HAVE_DIALOGS) && (defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_DIALOGS_ATHENA) || defined (LWLIB_DIALOGS_ATHENA3D))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1026 #define HAVE_X_DIALOGS
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1027 #endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1028
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1029 #ifdef HAVE_X_WINDOWS
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1030 /* The following should always be defined, no matter what xmkmf thinks. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1031 #ifndef NeedFunctionPrototypes
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1032 #define NeedFunctionPrototypes 1
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1033 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1034 #ifndef FUNCPROTO
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1035 #define FUNCPROTO 15
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1036 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1037 #endif /* HAVE_X_WINDOWS */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1038
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1039 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1040 #define XLIB_ILLEGAL_ACCESS 1
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1041 #endif
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1042
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1043 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1044 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_MSG_SELECT)
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 2263
diff changeset
1045 #define HAVE_UNIXOID_EVENT_LOOP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1046 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1047
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1048 #ifdef HAVE_CANNA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1049 # define CANNA_MULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1050 # define CANNA_PURESIZE 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1051 #else /* not CANNA */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1052 # define CANNA_PURESIZE 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1053 #endif /* not CANNA */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1054
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1055 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1056 #define accept Raccept
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1057 #define bind Rbind
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1058 #define connect Rconnect
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1059 #define getsockname Rgetsockname
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1060 #define listen Rlisten
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1061 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1062
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1063 #ifndef BITS_PER_CHAR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1064 #define BITS_PER_CHAR 8
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1065 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1066 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1067 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1068 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1069 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1070 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
1983
9c872f33ecbe [xemacs-hg @ 2004-04-05 22:49:31 by james]
james
parents: 1799
diff changeset
1071 #define DOUBLE_BITS (SIZEOF_DOUBLE * BITS_PER_CHAR)
9c872f33ecbe [xemacs-hg @ 2004-04-05 22:49:31 by james]
james
parents: 1799
diff changeset
1072
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1073 /* Use `INLINE_HEADER' to define inline functions in .h files.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1074 Use `inline static' to define inline functions in .c files.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1075 See the Internals manual for examples and more information. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1076
4389
4c5cd87620e4 Check that __STDC_VERSION__ is defined before examining it.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4387
diff changeset
1077 #if (defined ( __STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
4c5cd87620e4 Check that __STDC_VERSION__ is defined before examining it.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4387
diff changeset
1078 || defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs)
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1079 # define INLINE_HEADERS_ARE_STATIC
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1080 # define INLINE_HEADER inline static
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1081 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1082 # define INLINE_HEADER inline
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1083 #else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1084 # define INLINE_HEADER inline extern
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1085 #endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1086
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1087 /* Use DECLARE_INLINE_HEADER() to declare an inline function in a header
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1088 file, like this: (This avoids the need to write a prototype directly
4932
8b63e21b0436 fix compile issues with gcc 4
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
1089 followed by the function header itself, in order to avoid a
8b63e21b0436 fix compile issues with gcc 4
Ben Wing <ben@xemacs.org>
parents: 4865
diff changeset
1090 "no prototype" warning from GCC.)
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1091
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1092 DECLARE_INLINE_HEADER (int foo (int x))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1093 {
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1094 return x * x;
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1095 }
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1096
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1097 */
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1098
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1099 #define DECLARE_INLINE_HEADER(header) \
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1100 INLINE_HEADER header ; INLINE_HEADER header
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 724
diff changeset
1101
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1102 #ifndef NOT_C_CODE /* Actually means C or C++ */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1103 # if defined (__cplusplus)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1104 # define EXTERN_C extern "C"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1105 # else /* C code */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1106 # define EXTERN_C extern
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1107 # endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1108 #endif /* C or C++ */
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1109
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1110 /* Strictly speaking, only int or unsigned int are valid types in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1111 bitfield. In practice, we would like to use enums as bitfields.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1112 The following should just result in warning avoidance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1113 warning: nonportable bit-field type */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1114 #ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1115 #define enum_field(enumeration_type) enum enumeration_type
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1116 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1117 #define enum_field(enumeration_type) unsigned int
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1118 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1119
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1120 /* We want to avoid saving the signal mask if possible, because
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1121 that necessitates a system call. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1122 #ifdef HAVE_SIGSETJMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1123 # define SETJMP(x) sigsetjmp (x, 0)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1124 # define LONGJMP(x, y) siglongjmp (x, y)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1125 # define JMP_BUF sigjmp_buf
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1126 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1127 # define SETJMP(x) setjmp (x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1128 # define LONGJMP(x, y) longjmp (x, y)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1129 # define JMP_BUF jmp_buf
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1130 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1131
838
bf645ed7cfe3 [xemacs-hg @ 2002-05-14 09:28:06 by ben]
ben
parents: 800
diff changeset
1132 /* For the moment, we go ahead and keep this, since it's used in mouse.el.
bf645ed7cfe3 [xemacs-hg @ 2002-05-14 09:28:06 by ben]
ben
parents: 800
diff changeset
1133 #### font-lock does its own version using parse-partial-sexp. We should
bf645ed7cfe3 [xemacs-hg @ 2002-05-14 09:28:06 by ben]
ben
parents: 800
diff changeset
1134 merge the two. */
bf645ed7cfe3 [xemacs-hg @ 2002-05-14 09:28:06 by ben]
ben
parents: 800
diff changeset
1135 #define USE_C_FONT_LOCK
bf645ed7cfe3 [xemacs-hg @ 2002-05-14 09:28:06 by ben]
ben
parents: 800
diff changeset
1136
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1137 /* Keep the #defines sorted.
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1138 #### Can this code ever be executed? I guess if a developer #defines
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1139 ERROR_CHECK_ALL above the #include it could be useful. */
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1140 #ifdef ERROR_CHECK_ALL
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1141 #define ERROR_CHECK_BYTE_CODE
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1142 #define ERROR_CHECK_DISPLAY
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1143 #define ERROR_CHECK_EXTENTS
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1144 #define ERROR_CHECK_GC
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1145 #define ERROR_CHECK_GLYPHS
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1146 #define ERROR_CHECK_MALLOC
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1147 #define ERROR_CHECK_STRUCTURES
3959
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1148 #define ERROR_CHECK_TEXT
8fe2dec941b3 [xemacs-hg @ 2007-05-17 15:42:10 by stephent]
stephent
parents: 3830
diff changeset
1149 #define ERROR_CHECK_TYPES
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1150 #endif /* ERROR_CHECK_ALL */
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 788
diff changeset
1151
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1152 /* It's very tricky. In some circumstances, if we don't include the
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1153 ERROR_CHECK_TYPES functions in xemacs.def.in.in, we get lots of
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1154 undefined references from eldap.o and postgresql.o; but in other
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1155 circumstances, if we DO include them, we get undefined references
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1156 in xemacs-export.o to the same functions. We try here to grok when
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1157 we need to include them in xemacs.def.in.in. I originally thought
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1158 it was enough to condition on !defined (INLINE_HEADERS_ARE_STATIC) --
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1159 if they're static, they shouldn't lead to any external references
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1160 in the modules, right? Wrong, under non-optimized builds. So now
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1161 let's try conditioning on !C++ -- by examining inline.o with nm,
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1162 it seems it's the C++ builds where inline.o doesn't get any inline
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1163 functions compiled into it at all, which would lead to problems if
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1164 we reference them in xemacs.def.in.in.
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1165
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1166 #### FIXME Should we condition on GCC and defined(emacs), like we
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1167 do (inverted) for INLINE_HEADERS_ARE_STATIC? --ben */
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1168
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1169 /* Checking for !defined (__cplusplus) doesn't work, because we typically
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1170 aren't using the C++ preprocessor when processing xemacs.def.in.in
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1171 even if we're using a C++ compiler. I suspect we only need this at
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1172 all GCC is being used. */
4952
19a72041c5ed Mule-izing, various fixes related to char * arguments
Ben Wing <ben@xemacs.org>
parents: 4932
diff changeset
1173 #if !defined (USE_GPLUSPLUS)
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1174 /* #if !defined (INLINE_HEADERS_ARE_STATIC) */
4952
19a72041c5ed Mule-izing, various fixes related to char * arguments
Ben Wing <ben@xemacs.org>
parents: 4932
diff changeset
1175 #define XEMACS_DEFS_NEEDS_INLINE_DECLS
4829
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1176 #endif
9987da5935bd try to fix problems with link errors involving inlined functions
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
1177
5222
18c0b5909d16 Use keywords in structure syntax; new #define, NEED_TO_HANDLE_21_4_CODE 1
Aidan Kehoe <kehoea@parhasard.net>
parents: 5211
diff changeset
1178 /* Do we need to be able to run code compiled by and written for 21.4? */
18c0b5909d16 Use keywords in structure syntax; new #define, NEED_TO_HANDLE_21_4_CODE 1
Aidan Kehoe <kehoea@parhasard.net>
parents: 5211
diff changeset
1179 #define NEED_TO_HANDLE_21_4_CODE 1
18c0b5909d16 Use keywords in structure syntax; new #define, NEED_TO_HANDLE_21_4_CODE 1
Aidan Kehoe <kehoea@parhasard.net>
parents: 5211
diff changeset
1180
5374
d967d96ca043 Conditionalise the old-* functions and byte codes at compile time.
Aidan Kehoe <kehoea@parhasard.net>
parents: 5228
diff changeset
1181 #define SUPPORT_CONFOUNDING_FUNCTIONS NEED_TO_HANDLE_21_4_CODE
d967d96ca043 Conditionalise the old-* functions and byte codes at compile time.
Aidan Kehoe <kehoea@parhasard.net>
parents: 5228
diff changeset
1182
5730
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1183 /* Large file support */
5732
02d0124c6314 AC_FUNC_SEEKO is the name of the autoconf macro. HAVE_FSEEKO is the name
Jerry James <james@xemacs.org>
parents: 5730
diff changeset
1184 #ifdef HAVE_FSEEKO
5730
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1185 # define OFF_T off_t
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1186 # define FSEEK(stream, offset, whence) fseeko (stream, offset, whence)
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1187 # define FTELL(stream) ftello (stream)
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1188 #else
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1189 # define OFF_T long
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1190 # define FSEEK(stream, offset, whence) fseek (stream, offset, whence)
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1191 # define FTELL(stream) ftell (stream)
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1192 #endif
4521c9dc64f6 Fix native windows build which sources an unmodified config.h.in
Vin Shelton <acs@xemacs.org>
parents: 5727
diff changeset
1193
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1194 #endif /* _SRC_CONFIG_H_ */