aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2012-07-06 19:19:33 +0200
committerJuanma Barranquero2012-07-06 19:19:33 +0200
commitf247498ead8b1898decf47537d59965340d6cebd (patch)
treef17827e6bda1b97d84188e50257683f208ce6a20
parent216ee680e5c7e34177eedab9256a85042804545c (diff)
downloademacs-f247498ead8b1898decf47537d59965340d6cebd.tar.gz
emacs-f247498ead8b1898decf47537d59965340d6cebd.zip
* nt/config.nt: Complete rework to bring it in sync with autogen/config.in.
All Windows-specific code moved to src/s/ms-w32.h. * src/s/ms-w32.h: Settings not specific to Windows moved to nt/config.nt. Windows-specific code from nt/config.nt moved here. Obsolete settings removed.
-rw-r--r--nt/ChangeLog6
-rw-r--r--nt/config.nt1682
-rw-r--r--src/ChangeLog7
-rw-r--r--src/s/ms-w32.h166
4 files changed, 1465 insertions, 396 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 90045632333..4dd9d853173 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,6 +1,12 @@
12012-07-04 Juanma Barranquero <lekktu@gmail.com> 12012-07-04 Juanma Barranquero <lekktu@gmail.com>
2 Eli Zaretskii <eliz@gnu.org> 2 Eli Zaretskii <eliz@gnu.org>
3 3
4 * config.nt: Complete rework to bring it in sync with autogen/config.in.
5 All Windows-specific code moved to src/s/ms-w32.h.
6
72012-07-04 Juanma Barranquero <lekktu@gmail.com>
8 Eli Zaretskii <eliz@gnu.org>
9
4 * configure.bat (enablechecking): Enable checks through src/config.h, 10 * configure.bat (enablechecking): Enable checks through src/config.h,
5 not the compiler's command line. 11 not the compiler's command line.
6 12
diff --git a/nt/config.nt b/nt/config.nt
index 9ceb3549cbe..866d870c00a 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -1,6 +1,7 @@
1/* GNU Emacs site configuration template file. -*- C -*- 1/* GNU Emacs site configuration template file.
2 2
3Copyright (C) 1988, 1993-1994, 2001-2012 Free Software Foundation, Inc. 3Copyright (C) 1988, 1993-1994, 2001-2012
4 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -17,252 +18,189 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 20
21/* NOTE:
22 This file is intentionally kept in sync with autogen/config.in to
23 ease maintenance. Please do not remove non-Windows related stuff
24 unless strictly necessary. Also, before adding anything here
25 consider whether src/s/ms-w32.h would be a better place; this is
26 particularly true for gcc vs. MSVC conditional defines, MinGW or
27 MSVC specific code, and macros not already defined in config.in. */
20 28
21/* No code in Emacs #includes config.h twice, but some of the code 29/* No code in Emacs #includes config.h twice, but some bits of code
22 intended to work with other packages as well (like gmalloc.c) 30 intended to work with other packages as well (like gmalloc.c)
23 think they can include it as many times as they like. */ 31 think they can include it as many times as they like. */
24#ifndef EMACS_CONFIG_H 32#ifndef EMACS_CONFIG_H
25#define EMACS_CONFIG_H 33#define EMACS_CONFIG_H
26 34
27/* These are all defined in the top-level Makefile by configure.
28 They're here only for reference. */
29 35
30/* Define GNU_MALLOC if you want to use the GNU memory allocator. */ 36/* Define if building universal (internal helper macro) */
31#define GNU_MALLOC 37#undef AC_APPLE_UNIVERSAL_BUILD
32 38
33/* Define if you are using the GNU C Library. */ 39/* Define to the number of bits in type 'ptrdiff_t'. */
34#undef DOUG_LEA_MALLOC 40#undef BITSIZEOF_PTRDIFF_T
35 41
36/* Define REL_ALLOC if you want to use the relocating allocator for 42/* Define to the number of bits in type 'sig_atomic_t'. */
37 buffer space. */ 43#undef BITSIZEOF_SIG_ATOMIC_T
38#define REL_ALLOC
39 44
40/* Enable conservative stack marking for GC. */ 45/* Define to the number of bits in type 'size_t'. */
41#define GC_MARK_STACK 1 46#undef BITSIZEOF_SIZE_T
42 47
43/* MSVC ignores the "register" keyword, so test fails even though 48/* Define to the number of bits in type 'wchar_t'. */
44 setjmp does work. */ 49#undef BITSIZEOF_WCHAR_T
45#define GC_SETJMP_WORKS 1
46 50
47/* Define HAVE_X_WINDOWS if you want to use the X window system. */ 51/* Define to the number of bits in type 'wint_t'. */
48#undef HAVE_X_WINDOWS 52#undef BITSIZEOF_WINT_T
49 53
50/* Define HAVE_X11 if you want to use version 11 of X windows. 54/* Define if SA_RESTART should not be used. */
51 Otherwise, Emacs expects to use version 10. */ 55#undef BROKEN_SA_RESTART
52#undef HAVE_X11
53 56
54/* Define if using an X toolkit. */ 57/* Define if SIGIO should not be used. */
55#undef USE_X_TOOLKIT 58#undef BROKEN_SIGIO
56 59
57/* Define this if you have Motif 2.1 or newer. */ 60/* Define if Emacs cannot be dumped on your system. */
58#undef HAVE_MOTIF_2_1 61#undef CANNOT_DUMP
59 62
60/* Define HAVE_MENUS if you have mouse menus. 63/* Define this to enable compile time checks for the Lisp_Object data type. */
61 (This is automatic if you use X, but the option to specify it remains.) 64#undef CHECK_LISP_OBJECT_TYPE
62 It is also defined with other window systems that support xmenu.c. */
63#undef HAVE_MENUS
64 65
65/* Define if we have the X11R6 or newer version of Xt. */ 66/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
66#undef HAVE_X11XTR6 67 systems. This function is required for 'alloca.c' support on those systems.
68 */
69#undef CRAY_STACKSEG_END
67 70
68/* Define if we have the X11R6 or newer version of Xlib. */ 71/* Define to 1 if using 'alloca.c'. */
69#undef HAVE_X11R6 72#undef C_ALLOCA
70 73
71/* Define if netdb.h declares h_errno. */ 74/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
72#undef HAVE_H_ERRNO 75#undef DGUX
73 76
74/* If we're using any sort of window system, define some consequences. */ 77/* Define to 1 if you are using the GNU C Library. */
75#ifdef HAVE_X_WINDOWS 78#undef DOUG_LEA_MALLOC
76#define HAVE_WINDOW_SYSTEM
77#define HAVE_MOUSE
78#endif
79 79
80/* Define USER_FULL_NAME to return a string 80/* Define to the canonical Emacs configuration name. */
81 that is the user's full name. 81#undef EMACS_CONFIGURATION
82 It can assume that the variable `pw'
83 points to the password file entry for this user.
84 82
85 At some sites, the pw_gecos field contains 83/* Define to the options passed to configure. */
86 the user's full name. If neither this nor any other 84#undef EMACS_CONFIG_OPTIONS
87 field contains the right thing, use pw_name,
88 giving the user's login name, since that is better than nothing. */
89#define USER_FULL_NAME pw->pw_gecos
90 85
91/* Define AMPERSAND_FULL_NAME if you use the convention 86/* Define to 1 if expensive run-time data type and consistency checks are
92 that & in the full name stands for the login id. */ 87 enabled. */
93#undef AMPERSAND_FULL_NAME 88#undef ENABLE_CHECKING
94 89
95/* Things set by --with options in the configure script. */ 90/* Define to 1 if futimesat mishandles a NULL file name. */
91#undef FUTIMESAT_NULL_BUG
96 92
97/* Define to support POP mail retrieval. */ 93/* Define this to check for errors in cons list. */
98#undef MAIL_USE_POP 94#undef GC_CHECK_CONS_LIST
99 95
100/* Define to support Kerberos-authenticated POP mail retrieval. */ 96/* Define this temporarily to hunt a bug. If defined, the size of strings is
101#undef KERBEROS 97 redundantly recorded in sdata structures so that it can be compared to the
102/* Define to use Kerberos 5 instead of Kerberos 4 */ 98 sizes recorded in Lisp strings. */
103#undef KERBEROS5 99#undef GC_CHECK_STRING_BYTES
104 100
105/* Define to support using a Hesiod database to find the POP server. */ 101/* Define this to check the string free list. */
106#undef HESIOD 102#undef GC_CHECK_STRING_FREE_LIST
107 103
108/* Some things figured out by the configure script, grouped as they are in 104/* Define this to check for short string overrun. */
109 configure.in. */ 105#undef GC_CHECK_STRING_OVERRUN
110#ifndef _ALL_SOURCE /* suppress warning if this is pre-defined */
111#undef _ALL_SOURCE
112#endif
113#undef HAVE_SYS_SELECT_H
114#undef HAVE_SYS_TIMEB_H
115#undef HAVE_SYS_TIME_H
116#undef HAVE_UNISTD_H
117#undef HAVE_UTIME_H
118#undef HAVE_LINUX_VERSION_H
119#undef HAVE_SYS_SYSTEMINFO_H
120#undef HAVE_TERMIOS_H
121#undef HAVE_STRINGS_H
122#undef HAVE_PWD_H
123 106
124#undef HAVE_LIBDNET 107/* Define to 1 if the `getpgrp' function requires zero arguments. */
125#undef HAVE_LIBPTHREADS 108#undef GETPGRP_VOID
126#undef HAVE_LIBRESOLV
127#undef HAVE_LIBXMU
128 109
129/* movemail Kerberos support */ 110/* Define if gettimeofday clobbers the localtime buffer. */
130/* libraries */ 111#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME
131#undef HAVE_LIBKRB
132#undef HAVE_LIBKRB4
133#undef HAVE_LIBDES
134#undef HAVE_LIBDES425
135#undef HAVE_LIBKRB5
136#undef HAVE_LIBCRYPTO
137#undef HAVE_LIBCOM_ERR
138/* header files */
139#undef HAVE_KRB5_H
140#undef HAVE_DES_H
141#undef HAVE_KRB_H
142#undef HAVE_KERBEROSIV_DES_H
143#undef HAVE_KERBEROSIV_KRB_H
144#undef HAVE_KERBEROS_DES_H
145#undef HAVE_KERBEROS_KRB_H
146#undef HAVE_COM_ERR_H
147 112
148/* Mail-file locking */ 113/* Define this to 'void' or 'struct timezone' to match the system's
149#undef HAVE_LIBMAIL 114 declaration of the second argument to gettimeofday. */
150#undef HAVE_MAILLOCK_H 115#undef GETTIMEOFDAY_TIMEZONE
151#undef HAVE_TOUCHLOCK
152 116
153#undef HAVE_ALLOCA_H 117/* Define this to enable glyphs debugging code. */
118/* #undef GLYPH_DEBUG */
154 119
155#undef HAVE_GETTIMEOFDAY 120/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
156/* If we don't have gettimeofday, 121 whether the gnulib module fscanf shall be considered present. */
157 the test for GETTIMEOFDAY_ONE_ARGUMENT may succeed, 122#undef GNULIB_FSCANF
158 but we should ignore it. */
159#ifdef HAVE_GETTIMEOFDAY
160#undef GETTIMEOFDAY_ONE_ARGUMENT
161#endif
162#undef HAVE_GETHOSTNAME
163#undef HAVE_DUP2
164#undef HAVE_RENAME
165#undef HAVE_CLOSEDIR
166 123
167#undef TM_IN_SYS_TIME 124/* enable some gnulib portability checks */
168#undef HAVE_TM_ZONE 125#undef GNULIB_PORTCHECK
169 126
170/* Define to 1 if you don't have `tm_zone' but do have the external array 127/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
171 `tzname'. */ 128 whether the gnulib module scanf shall be considered present. */
172#define HAVE_TZNAME 1 129#undef GNULIB_SCANF
173 130
174/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. 131/* Define to 1 if you want to use the GNU memory allocator. */
175 */ 132#define GNU_MALLOC 1
176#define HAVE_DECL_TZNAME 1
177 133
178#undef const 134/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
135#undef HAVE_AIX_SMT_EXP
179 136
180#undef HAVE_LONG_FILE_NAMES 137/* Define to 1 if you have the `alarm' function. */
138#undef HAVE_ALARM
181 139
182#undef CRAY_STACKSEG_END 140/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
141 may be supplied by this distribution. */
142#undef HAVE_ALLOCA
183 143
184#undef HAVE_XRMSETDATABASE 144/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
185#undef HAVE_XSCREENRESOURCESTRING 145 */
186#undef HAVE_XSCREENNUMBEROFSCREEN 146#undef HAVE_ALLOCA_H
187 147
188#undef HAVE_MKDIR 148/* Define to 1 if ALSA is available. */
189#undef HAVE_RMDIR 149#undef HAVE_ALSA
190#undef HAVE_RANDOM 150
191#undef HAVE_LRAND48 151/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
192#undef HAVE_LOGB 152#undef HAVE_ATTRIBUTE_ALIGNED
193#undef HAVE_FREXP 153
194#undef HAVE_FMOD 154/* Define to 1 if strtold conforms to C99. */
195#undef HAVE_RINT 155#undef HAVE_C99_STRTOLD
156
157/* Define to 1 if you have the `cbrt' function. */
196#undef HAVE_CBRT 158#undef HAVE_CBRT
197#undef HAVE_RES_INIT /* For -lresolv on Suns. */
198#undef HAVE_SETSID
199#undef HAVE_FPATHCONF
200#undef HAVE_SELECT
201#undef HAVE_EUIDACCESS
202#undef HAVE_GETPAGESIZE
203#undef HAVE_GET_CURRENT_DIR_NAME
204#undef HAVE_TZSET
205#undef HAVE_SETLOCALE
206#undef HAVE_UTIMES
207#undef HAVE_SETRLIMIT
208#undef HAVE_SETPGID
209/* If you think about defining HAVE_GETCWD, don't: the alternative
210 getwd is redefined on w32.c, and does not really return the current
211 directory, to get the desired results elsewhere in Emacs */
212#undef HAVE_GETCWD
213#undef HAVE_SHUTDOWN
214#undef HAVE_STRFTIME
215/* Standard Windows strftime does not support POSIX.2 extensions. */
216#define STRFTIME_NO_POSIX2 1
217 159
218#define HAVE_SENDTO 1 160/* Define to 1 if you have the `cfmakeraw' function. */
219#define HAVE_RECVFROM 1 161#undef HAVE_CFMAKERAW
220#define HAVE_GETSOCKNAME 1
221#define HAVE_GETPEERNAME 1
222#define HAVE_SNPRINTF 1
223#define HAVE_LANGINFO_CODESET 1
224/* Local (unix) sockets are not supported. */
225#undef HAVE_SYS_UN_H
226 162
227#define LOCALTIME_CACHE 163/* Define to 1 if you have the `cfsetspeed' function. */
228#undef HAVE_INET_SOCKETS 164#undef HAVE_CFSETSPEED
229 165
230#undef HAVE_AIX_SMT_EXP 166/* Define to 1 if you have the `clock_gettime' function. */
167#undef HAVE_CLOCK_GETTIME
231 168
232/* Define if you have the ANSI `strerror' function. 169/* Define to 1 if you have the `clock_settime' function. */
233 Otherwise you must have the variable `char *sys_errlist[]'. */ 170#undef HAVE_CLOCK_SETTIME
234#undef HAVE_STRERROR
235 171
236/* Define if `sys_siglist' is declared by <signal.h>. */ 172/* Define to 1 if you have the `closedir' function. */
237#undef SYS_SIGLIST_DECLARED 173#define HAVE_CLOSEDIR 1
238 174
239/* Define if `struct utimbuf' is declared by <utime.h>. */ 175/* Define to 1 if you have the <coff.h> header file. */
240#undef HAVE_STRUCT_UTIMBUF 176#undef HAVE_COFF_H
241 177
242/* Define if `struct timeval' is declared by <sys/time.h>. */ 178/* Define to 1 if you have the <com_err.h> header file. */
243#undef HAVE_TIMEVAL 179#undef HAVE_COM_ERR_H
244 180
245/* Define to 1 if you have the <getopt.h> header file. */ 181/* Define to 1 if you have the `copysign' function. */
246#undef HAVE_GETOPT_H 182#undef HAVE_COPYSIGN
247 183
248/* Define to 1 if you have the `getopt_long_only' function. */ 184/* Define to 1 if using D-Bus. */
249#undef HAVE_GETOPT_LONG_ONLY 185#undef HAVE_DBUS
250 186
251/* Preprocessor macros needed for gnulib imports. */ 187/* Define to 1 if you have the `dbus_type_is_valid' function. */
188#undef HAVE_DBUS_TYPE_IS_VALID
252 189
253/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */ 190/* Define to 1 if you have the `dbus_validate_bus_name' function. */
254#ifdef __GNUC__ 191#undef HAVE_DBUS_VALIDATE_BUS_NAME
255#define HAVE_ATTRIBUTE_ALIGNED 1
256#else
257#undef HAVE_ATTRIBUTE_ALIGNED
258#endif
259 192
260/* Define to 1 if strtold conforms to C99. */ 193/* Define to 1 if you have the `dbus_validate_interface' function. */
261#ifdef __GNUC__ 194#undef HAVE_DBUS_VALIDATE_INTERFACE
262#define HAVE_C99_STRTOLD 1 195
263#else 196/* Define to 1 if you have the `dbus_validate_member' function. */
264#undef HAVE_C99_STRTOLD 197#undef HAVE_DBUS_VALIDATE_MEMBER
265#endif 198
199/* Define to 1 if you have the `dbus_validate_path' function. */
200#undef HAVE_DBUS_VALIDATE_PATH
201
202/* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */
203#undef HAVE_DBUS_WATCH_GET_UNIX_FD
266 204
267/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. 205/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
268 */ 206 */
@@ -272,8 +210,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
272 don't. */ 210 don't. */
273#undef HAVE_DECL_LOCALTIME_R 211#undef HAVE_DECL_LOCALTIME_R
274 212
275/* Define to 1 if you have the `localtime_r' function. */ 213/* Define to 1 if you have the declaration of `strmode', and to 0 if you
276#undef HAVE_LOCALTIME_R 214 don't. */
215#undef HAVE_DECL_STRMODE
216
217/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
218 don't. */
219#undef HAVE_DECL_STRTOIMAX
277 220
278/* Define to 1 if you have the declaration of `strtoll', and to 0 if you 221/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
279 don't. */ 222 don't. */
@@ -287,58 +230,1175 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
287 don't. */ 230 don't. */
288#define HAVE_DECL_STRTOUMAX 1 231#define HAVE_DECL_STRTOUMAX 1
289 232
233/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
234 don't. */
235#undef HAVE_DECL_SYS_SIGLIST
236
237/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
238 */
239#define HAVE_DECL_TZNAME 1
240
241/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
242 don't. */
243#undef HAVE_DECL___SYS_SIGLIST
244
245/* Define to 1 if you have the <des.h> header file. */
246#undef HAVE_DES_H
247
248/* Define to 1 if dynamic ptys are supported. */
249#undef HAVE_DEV_PTMX
250
251/* Define to 1 if you have the `difftime' function. */
252#undef HAVE_DIFFTIME
253
254/* Define to 1 if you have the <dirent.h> header file. */
255#undef HAVE_DIRENT_H
256
257/* Define to 1 if you have the 'dup2' function. */
258#define HAVE_DUP2 1
259
260/* Define to 1 if you have the `endgrent' function. */
261#undef HAVE_ENDGRENT
262
263/* Define to 1 if you have the `endpwent' function. */
264#undef HAVE_ENDPWENT
265
266/* Define to 1 if you have the `euidaccess' function. */
267#undef HAVE_EUIDACCESS
268
269/* Define to 1 if you have the <fcntl.h> header file. */
270#undef HAVE_FCNTL_H
271
272/* Define to 1 if you have the `fmod' function. */
273#define HAVE_FMOD 1
274
275/* Define to 1 if you have the `fork' function. */
276#undef HAVE_FORK
277
278/* Define to 1 if you have the `fpathconf' function. */
279#undef HAVE_FPATHCONF
280
281/* Define to 1 if you have the `freeifaddrs' function. */
282#undef HAVE_FREEIFADDRS
283
284/* Define to 1 if using the freetype and fontconfig libraries. */
285#undef HAVE_FREETYPE
286
287/* Define to 1 if you have the `frexp' function. */
288#define HAVE_FREXP 1
289
290/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
291#undef HAVE_FSEEKO
292
293/* Define to 1 if you have the `fsync' function. */
294#define HAVE_FSYNC 1
295
296/* Define to 1 if you have the `futimens' function. */
297#undef HAVE_FUTIMENS
298
299/* Define to 1 if you have the `futimes' function. */
300#undef HAVE_FUTIMES
301
302/* Define to 1 if you have the `futimesat' function. */
303#undef HAVE_FUTIMESAT
304
305/* Define to 1 if you have the `gai_strerror' function. */
306#undef HAVE_GAI_STRERROR
307
308/* Define to 1 if using GConf. */
309#undef HAVE_GCONF
310
311/* Define to 1 if you have the `getaddrinfo' function. */
312#undef HAVE_GETADDRINFO
313
314/* Define to 1 if you have the `getcwd' function.
315 If you think about defining HAVE_GETCWD, don't: the alternative
316 getwd is redefined on w32.c, and does not really return the current
317 directory, to get the desired results elsewhere in Emacs. */
318#undef HAVE_GETCWD
319
320/* Define to 1 if you have the `getdelim' function. */
321#undef HAVE_GETDELIM
322
323/* Define to 1 if you have the `getgrent' function. */
324#undef HAVE_GETGRENT
325
326/* Define to 1 if you have the `gethostname' function. */
327#define HAVE_GETHOSTNAME 1
328
329/* Define to 1 if you have the `getifaddrs' function. */
330#undef HAVE_GETIFADDRS
331
332/* Define to 1 if you have the `getline' function. */
333#undef HAVE_GETLINE
334
335/* Define to 1 if you have the <getopt.h> header file. */
336#undef HAVE_GETOPT_H
337
338/* Define to 1 if you have the `getopt_long_only' function. */
339#undef HAVE_GETOPT_LONG_ONLY
340
341/* Define to 1 if you have the `getpagesize' function. */
342#define HAVE_GETPAGESIZE 1
343
344/* Define to 1 if you have the `getpeername' function. */
345#define HAVE_GETPEERNAME 1
346
347/* Define to 1 if you have the `getpt' function. */
348#undef HAVE_GETPT
349
350/* Define to 1 if you have the `getpwent' function. */
351#undef HAVE_GETPWENT
352
353/* Define to 1 if you have the `getrlimit' function. */
354#undef HAVE_GETRLIMIT
355
356/* Define to 1 if you have the `getrusage' function. */
357#undef HAVE_GETRUSAGE
358
359/* Define to 1 if you have the `getsockname' function. */
360#define HAVE_GETSOCKNAME 1
361
362/* Define to 1 if you have the `gettimeofday' function. */
363#define HAVE_GETTIMEOFDAY 1
364
365/* Define to 1 if you have the `getwd' function. */
366#undef HAVE_GETWD
367
368/* Define to 1 if you have the `get_current_dir_name' function. */
369#undef HAVE_GET_CURRENT_DIR_NAME
370
371/* Define to 1 if you have a gif (or ungif) library. */
372#undef HAVE_GIF
373
374/* Define if using GnuTLS. */
375#undef HAVE_GNUTLS
376
377/* Define if using GnuTLS certificate verification callbacks. */
378#undef HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY
379
380/* Define to 1 if you have the `gnutls_certificate_set_verify_function'
381 function. */
382#undef HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION
383
384/* Define to 1 if you have the gpm library (-lgpm). */
385#undef HAVE_GPM
386
387/* Define to 1 if you have the `grantpt' function. */
388#undef HAVE_GRANTPT
389
390/* Define to 1 if using GSettings. */
391#undef HAVE_GSETTINGS
392
393/* Define to 1 if using GTK 3 or later. */
394#undef HAVE_GTK3
395
396/* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */
397#undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE
398
399/* Define to 1 if you have the `gtk_dialog_get_action_area' function. */
400#undef HAVE_GTK_DIALOG_GET_ACTION_AREA
401
402/* Define to 1 if you have the `gtk_file_selection_new' function. */
403#undef HAVE_GTK_FILE_SELECTION_NEW
404
405/* Define to 1 if you have the `gtk_main' function. */
406#undef HAVE_GTK_MAIN
407
408/* Define to 1 if you have the `gtk_orientable_set_orientation' function. */
409#undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION
410
411/* Define to 1 if you have the `gtk_widget_get_mapped' function. */
412#undef HAVE_GTK_WIDGET_GET_MAPPED
413
414/* Define to 1 if you have the `gtk_widget_get_sensitive' function. */
415#undef HAVE_GTK_WIDGET_GET_SENSITIVE
416
417/* Define to 1 if you have the `gtk_widget_get_window' function. */
418#undef HAVE_GTK_WIDGET_GET_WINDOW
419
420/* Define to 1 if you have the `gtk_widget_set_has_window' function. */
421#undef HAVE_GTK_WIDGET_SET_HAS_WINDOW
422
423/* Define to 1 if you have the `gtk_window_set_has_resize_grip' function. */
424#undef HAVE_GTK_WINDOW_SET_HAS_RESIZE_GRIP
425
426/* Define to 1 if you have the `g_type_init' function. */
427#undef HAVE_G_TYPE_INIT
428
429/* Define to 1 if netdb.h declares h_errno. */
430#define HAVE_H_ERRNO 1
431
432/* Define to 1 if you have the <ifaddrs.h> header file. */
433#undef HAVE_IFADDRS_H
434
435/* Define to 1 if using imagemagick. */
436#undef HAVE_IMAGEMAGICK
437
438/* Define to 1 if you have inet sockets. */
439#define HAVE_INET_SOCKETS 1
440
441/* Define to 1 if you have the <inttypes.h> header file. */
442#undef HAVE_INTTYPES_H
443
444/* Define to 1 if you have the jpeg library (-ljpeg). */
445#undef HAVE_JPEG
446
447/* Define to 1 if you have the <kerberosIV/des.h> header file. */
448#undef HAVE_KERBEROSIV_DES_H
449
450/* Define to 1 if you have the <kerberosIV/krb.h> header file. */
451#undef HAVE_KERBEROSIV_KRB_H
452
453/* Define to 1 if you have the <kerberos/des.h> header file. */
454#undef HAVE_KERBEROS_DES_H
455
456/* Define to 1 if you have the <kerberos/krb.h> header file. */
457#undef HAVE_KERBEROS_KRB_H
458
459/* Define to 1 if `e_text' is a member of `krb5_error'. */
460#undef HAVE_KRB5_ERROR_E_TEXT
461
462/* Define to 1 if `text' is a member of `krb5_error'. */
463#undef HAVE_KRB5_ERROR_TEXT
464
465/* Define to 1 if you have the <krb5.h> header file. */
466#undef HAVE_KRB5_H
467
468/* Define to 1 if you have the <krb.h> header file. */
469#undef HAVE_KRB_H
470
471/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
472#define HAVE_LANGINFO_CODESET 1
473
474/* Define to 1 if you have the `com_err' library (-lcom_err). */
475#undef HAVE_LIBCOM_ERR
476
477/* Define to 1 if you have the `crypto' library (-lcrypto). */
478#undef HAVE_LIBCRYPTO
479
480/* Define to 1 if you have the `des' library (-ldes). */
481#undef HAVE_LIBDES
482
483/* Define to 1 if you have the `des425' library (-ldes425). */
484#undef HAVE_LIBDES425
485
486/* Define to 1 if you have the `dgc' library (-ldgc). */
487#undef HAVE_LIBDGC
488
489/* Define to 1 if you have the `dnet' library (-ldnet). */
490#undef HAVE_LIBDNET
491
492/* Define to 1 if you have the hesiod library (-lhesiod). */
493#undef HAVE_LIBHESIOD
494
495/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
496#undef HAVE_LIBK5CRYPTO
497
498/* Define to 1 if you have the `krb' library (-lkrb). */
499#undef HAVE_LIBKRB
500
501/* Define to 1 if you have the `krb4' library (-lkrb4). */
502#undef HAVE_LIBKRB4
503
504/* Define to 1 if you have the `krb5' library (-lkrb5). */
505#undef HAVE_LIBKRB5
506
507/* Define to 1 if you have the `kstat' library (-lkstat). */
508#undef HAVE_LIBKSTAT
509
510/* Define to 1 if you have the `lockfile' library (-llockfile). */
511#undef HAVE_LIBLOCKFILE
512
513/* Define to 1 if you have the `m' library (-lm). */
514#undef HAVE_LIBM
515
516/* Define to 1 if you have the `mail' library (-lmail). */
517#undef HAVE_LIBMAIL
518
519/* Define to 1 if using libotf. */
520#undef HAVE_LIBOTF
521
522/* Define to 1 if you have the `perfstat' library (-lperfstat). */
523#undef HAVE_LIBPERFSTAT
524
525/* Define to 1 if you have the <libpng/png.h> header file. */
526#undef HAVE_LIBPNG_PNG_H
527
528/* Define to 1 if you have the `pthreads' library (-lpthreads). */
529#undef HAVE_LIBPTHREADS
530
531/* Define to 1 if you have the resolv library (-lresolv). */
532#undef HAVE_LIBRESOLV
533
534/* Define to 1 if using SELinux. */
535#undef HAVE_LIBSELINUX
536
537/* Define to 1 if you have the `Xext' library (-lXext). */
538#undef HAVE_LIBXEXT
539
540/* Define to 1 if you have the libxml library (-lxml2). */
541#undef HAVE_LIBXML2
542
543/* Define to 1 if you have the `Xmu' library (-lXmu). */
544#undef HAVE_LIBXMU
545
546/* Define to 1 if you have the <linux/version.h> header file. */
547#undef HAVE_LINUX_VERSION_H
548
549/* Define to 1 if you have the `localtime_r' function. */
550#undef HAVE_LOCALTIME_R
551
552/* Define to 1 if you have the `logb' function. */
553#define HAVE_LOGB 1
554
555/* Define to 1 if you support file names longer than 14 characters. */
556#define HAVE_LONG_FILE_NAMES 1
557
558/* Define to 1 if the system has the type 'long long int'. */
559#undef HAVE_LONG_LONG_INT
560
561/* Define to 1 if you have the `lrand48' function. */
562#undef HAVE_LRAND48
563
564/* Define to 1 if you have the `lstat' function. */
565#undef HAVE_LSTAT
566
567/* Define to 1 if you have the `lutimes' function. */
568#undef HAVE_LUTIMES
569
570/* Define to 1 if using libm17n-flt. */
571#undef HAVE_M17N_FLT
572
573/* Define to 1 if you have the <machine/soundcard.h> header file. */
574#undef HAVE_MACHINE_SOUNDCARD_H
575
576/* Define to 1 if you have the <mach/mach.h> header file. */
577#undef HAVE_MACH_MACH_H
578
579/* Define to 1 if you have the `MagickExportImagePixels' function. */
580#undef HAVE_MAGICKEXPORTIMAGEPIXELS
581
582/* Define to 1 if you have the `MagickMergeImageLayers' function. */
583#undef HAVE_MAGICKMERGEIMAGELAYERS
584
585/* Define to 1 if you have the <maillock.h> header file. */
586#undef HAVE_MAILLOCK_H
587
588/* Define to 1 if you have the <malloc/malloc.h> header file. */
589#undef HAVE_MALLOC_MALLOC_H
590
591/* Define to 1 if <wchar.h> declares mbstate_t. */
592#undef HAVE_MBSTATE_T
593
594/* Define to 1 if you have the <memory.h> header file. */
595#undef HAVE_MEMORY_H
596
597/* Define to 1 if you have mouse menus. (This is automatic if you use X, but
598 the option to specify it remains.) It is also defined with other window
599 systems that support xmenu.c. */
600#undef HAVE_MENUS
601
602/* Define to 1 if you have the `mkdir' function. */
603#define HAVE_MKDIR 1
604
605/* Define to 1 if you have the `mkstemp' function. */
606#undef HAVE_MKSTEMP
607
608/* Define to 1 if you have a working `mmap' system call. */
609#undef HAVE_MMAP
610
611/* Define if you have mouse support. */
612#define HAVE_MOUSE 1
613
614/* Define to 1 if you have the `nanotime' function. */
615#undef HAVE_NANOTIME
616
617/* Define to 1 if you have the <net/if_dl.h> header file. */
618#undef HAVE_NET_IF_DL_H
619
620/* Define to 1 if you have the <net/if.h> header file. */
621#undef HAVE_NET_IF_H
622
623/* Define to 1 if you have the <nlist.h> header file. */
624#undef HAVE_NLIST_H
625
626/* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on
627 Mac OS X. */
628#undef HAVE_NS
629
630/* Define to 1 if libotf has OTF_get_variation_glyphs. */
631#undef HAVE_OTF_GET_VARIATION_GLYPHS
632
633/* Define to 1 if personality LINUX32 can be set. */
634#undef HAVE_PERSONALITY_LINUX32
635
636/* Define to 1 if you have the png library (-lpng). */
637#undef HAVE_PNG
638
639/* Define to 1 if you have the <png.h> header file. */
640#undef HAVE_PNG_H
641
642/* Define to 1 if you have the `posix_memalign' function. */
643#undef HAVE_POSIX_MEMALIGN
644
645/* Define if you have the /proc filesystem. */
646#undef HAVE_PROCFS
647
648/* Define to 1 if you have the `pselect' function. */
649#undef HAVE_PSELECT
650
651/* Define to 1 if you have the `pstat_getdynamic' function. */
652#undef HAVE_PSTAT_GETDYNAMIC
653
654/* Define to 1 if you have pthread (-lpthread). */
655#undef HAVE_PTHREAD
656
657/* Define to 1 if you have the <pthread.h> header file. */
658#undef HAVE_PTHREAD_H
659
660/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
661#undef HAVE_PTHREAD_SIGMASK
662
663/* Define to 1 if you have the <pty.h> header file. */
664#undef HAVE_PTY_H
665
666/* Define to 1 if you have the <pwd.h> header file. */
667#define HAVE_PWD_H 1
668
669/* Define to 1 if you have the `random' function. */
670#define HAVE_RANDOM 1
671
672/* Define to 1 if you have the `readlink' function. */
673#undef HAVE_READLINK
674
675/* Define to 1 if you have the `readlinkat' function. */
676#undef HAVE_READLINKAT
677
678/* Define to 1 if you have the `recvfrom' function. */
679#define HAVE_RECVFROM 1
680
681/* Define to 1 if you have the `rename' function. */
682#define HAVE_RENAME 1
683
684/* Define to 1 if res_init is available. */
685#undef HAVE_RES_INIT
686
687/* Define to 1 if you have the `rint' function. */
688#undef HAVE_RINT
689
690/* Define to 1 if you have the `rmdir' function. */
691#define HAVE_RMDIR 1
692
693/* Define to 1 if using librsvg. */
694#undef HAVE_RSVG
695
696/* Define to 1 if you have the `select' function. */
697#define HAVE_SELECT 1
698
699/* Define to 1 if you have the `sendto' function. */
700#define HAVE_SENDTO 1
701
702/* Define to 1 if you have the `setitimer' function. */
703#undef HAVE_SETITIMER
704
705/* Define to 1 if you have the `setlocale' function. */
706#define HAVE_SETLOCALE 1
707
708/* Define to 1 if you have the `setpgid' function. */
709#undef HAVE_SETPGID
710
711/* Define to 1 if you have the `setrlimit' function. */
712#undef HAVE_SETRLIMIT
713
714/* Define to 1 if you have the `setsid' function. */
715#undef HAVE_SETSID
716
717/* Define to 1 if you have the `shutdown' function. */
718#define HAVE_SHUTDOWN 1
719
720/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
721#undef HAVE_SIGNED_SIG_ATOMIC_T
722
723/* Define to 1 if 'wchar_t' is a signed integer type. */
724#undef HAVE_SIGNED_WCHAR_T
725
726/* Define to 1 if 'wint_t' is a signed integer type. */
727#undef HAVE_SIGNED_WINT_T
728
729/* Define to 1 if the system has the type `sigset_t'. */
730#undef HAVE_SIGSET_T
731
732/* Define to 1 if you have the `snprintf' function. */
733#define HAVE_SNPRINTF 1
734
735/* Define to 1 if you have sound support. */
736#define HAVE_SOUND 1
737
738/* Define to 1 if you have the <soundcard.h> header file. */
739#undef HAVE_SOUNDCARD_H
740
741/* Define to 1 if `speed_t' is declared by <termios.h>. */
742#undef HAVE_SPEED_T
743
744/* Define to 1 if you have the <stdint.h> header file. */
745#undef HAVE_STDINT_H
746
747/* Define to 1 if you have the <stdio_ext.h> header file. */
748#undef HAVE_STDIO_EXT_H
749
750/* Define to 1 if you have the <stdlib.h> header file. */
751#undef HAVE_STDLIB_H
752
753/* Define to 1 if you have the `strcasecmp' function. */
754#define HAVE_STRCASECMP 1
755
756/* Define to 1 if you have the `strerror' function. */
757#define HAVE_STRERROR 1
758
759/* Define to 1 if you have the <strings.h> header file. */
760#undef HAVE_STRINGS_H
761
762/* Define to 1 if you have the <string.h> header file. */
763#undef HAVE_STRING_H
764
765/* Define to 1 if you have the `strncasecmp' function. */
766#define HAVE_STRNCASECMP 1
767
768/* Define to 1 if you have the `strsignal' function. */
769#undef HAVE_STRSIGNAL
770
771/* Define to 1 if you have the `strtoimax' function. */
772#undef HAVE_STRTOIMAX
773
774/* Define to 1 if you have the `strtoll' function. */
775#undef HAVE_STRTOLL
776
290/* Define to 1 if you have the `strtoull' function. */ 777/* Define to 1 if you have the `strtoull' function. */
291#define HAVE_STRTOULL 1 778#define HAVE_STRTOULL 1
292 779
293/* Define to 1 if you have the `strtoumax' function. */ 780/* Define to 1 if you have the `strtoumax' function. */
294#define HAVE_STRTOUMAX 1 781#define HAVE_STRTOUMAX 1
295 782
783/* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
784#undef HAVE_STRUCT_IFREQ_IFR_ADDR
785
786/* Define to 1 if `ifr_addr.sa_len' is a member of `struct ifreq'. */
787#undef HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN
788
789/* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
790#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
791
792/* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
793#undef HAVE_STRUCT_IFREQ_IFR_FLAGS
794
795/* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
796#undef HAVE_STRUCT_IFREQ_IFR_HWADDR
797
798/* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
799#undef HAVE_STRUCT_IFREQ_IFR_NETMASK
800
801/* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
802#undef HAVE_STRUCT_NLIST_N_UN_N_NAME
803
804/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
805#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
806
807/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
808#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
809
810/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
811#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
812
813/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
814#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
815
816/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
817#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
818
819/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
820#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
821
822/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
823#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
824
825/* Define to 1 if `tm_zone' is a member of `struct tm'. */
826#undef HAVE_STRUCT_TM_TM_ZONE
827
828/* Define if struct utimbuf is declared -- usually in <utime.h>. Some systems
829 have utime.h but don't declare the struct anywhere. */
830#undef HAVE_STRUCT_UTIMBUF
831
832/* Define if struct stat has an st_dm_mode member. */
833#undef HAVE_ST_DM_MODE
834
835/* Define to 1 if you have the `symlink' function. */
836#undef HAVE_SYMLINK
837
838/* Define to 1 if you have the `sync' function. */
839#undef HAVE_SYNC
840
841/* Define to 1 if you have the <sys/bitypes.h> header file. */
842#undef HAVE_SYS_BITYPES_H
843
844/* Define to 1 if you have the <sys/inttypes.h> header file. */
845#undef HAVE_SYS_INTTYPES_H
846
847/* Define to 1 if you have the <sys/loadavg.h> header file. */
848#undef HAVE_SYS_LOADAVG_H
849
850/* Define to 1 if you have the <sys/param.h> header file. */
851#undef HAVE_SYS_PARAM_H
852
853/* Define to 1 if you have the <sys/resource.h> header file. */
854#undef HAVE_SYS_RESOURCE_H
855
856/* Define to 1 if you have the <sys/select.h> header file. */
857#undef HAVE_SYS_SELECT_H
858
859/* Define to 1 if you have the <sys/socket.h> header file. */
860#undef HAVE_SYS_SOCKET_H
861
862/* Define to 1 if you have the <sys/soundcard.h> header file. */
863#undef HAVE_SYS_SOUNDCARD_H
864
865/* Define to 1 if you have the <sys/stat.h> header file. */
866#undef HAVE_SYS_STAT_H
867
868/* Define to 1 if you have the <sys/systeminfo.h> header file. */
869#undef HAVE_SYS_SYSTEMINFO_H
870
871/* Define to 1 if you have the <sys/timeb.h> header file. */
872#define HAVE_SYS_TIMEB_H 1
873
874/* Define to 1 if you have the <sys/time.h> header file. */
875#define HAVE_SYS_TIME_H 1
876
877/* Define to 1 if you have the <sys/types.h> header file. */
878#undef HAVE_SYS_TYPES_H
879
880/* Define to 1 if you have the <sys/un.h> header file. */
881#undef HAVE_SYS_UN_H
882
883/* Define to 1 if you have the <sys/utsname.h> header file. */
884#undef HAVE_SYS_UTSNAME_H
885
886/* Define to 1 if you have the <sys/vlimit.h> header file. */
887#undef HAVE_SYS_VLIMIT_H
888
889/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
890#undef HAVE_SYS_WAIT_H
891
892/* Define to 1 if you have the <term.h> header file. */
893#undef HAVE_TERM_H
894
895/* Define to 1 if you have the tiff library (-ltiff). */
896#undef HAVE_TIFF
897
898/* Define if struct tm has the tm_gmtoff member. */
899#undef HAVE_TM_GMTOFF
900
901/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
902 `HAVE_STRUCT_TM_TM_ZONE' instead. */
903#undef HAVE_TM_ZONE
904
905/* Define to 1 if you have the `touchlock' function. */
906#undef HAVE_TOUCHLOCK
907
908/* Define to 1 if you don't have `tm_zone' but do have the external array
909 `tzname'. */
910#define HAVE_TZNAME 1
911
912/* Define to 1 if you have the `tzset' function. */
913#define HAVE_TZSET 1
914
915/* Define to 1 if you have the <unistd.h> header file. */
916#define HAVE_UNISTD_H 1
917
918/* Define to 1 if the system has the type 'unsigned long long int'. */
919#undef HAVE_UNSIGNED_LONG_LONG_INT
920
921/* Define to 1 if you have the <util.h> header file. */
922#undef HAVE_UTIL_H
923
924/* Define to 1 if you have the `utimensat' function. */
925#undef HAVE_UTIMENSAT
926
927/* Define to 1 if you have the `utimes' function. */
928#undef HAVE_UTIMES
929
930/* Define to 1 if you have the <utime.h> header file. */
931#undef HAVE_UTIME_H
932
933/* Define to 1 if you have the <utmp.h> header file. */
934#undef HAVE_UTMP_H
935
936/* Define to 1 if you have the `vfork' function. */
937#undef HAVE_VFORK
938
939/* Define to 1 if you have the <vfork.h> header file. */
940#undef HAVE_VFORK_H
941
942/* Define to 1 if you have the <wchar.h> header file. */
943#undef HAVE_WCHAR_H
944
296/* Define if you have the 'wchar_t' type. */ 945/* Define if you have the 'wchar_t' type. */
297#define HAVE_WCHAR_T 1 946#define HAVE_WCHAR_T 1
298 947
948/* Define if you have a window system. */
949#undef HAVE_WINDOW_SYSTEM
950
951/* Define to 1 if you have the <winsock2.h> header file. */
952#undef HAVE_WINSOCK2_H
953
954/* Define to 1 if `fork' works. */
955#undef HAVE_WORKING_FORK
956
957/* Define if utimes works properly. */
958#undef HAVE_WORKING_UTIMES
959
960/* Define to 1 if `vfork' works. */
961#undef HAVE_WORKING_VFORK
962
963/* Define to 1 if you have the <ws2tcpip.h> header file. */
964#undef HAVE_WS2TCPIP_H
965
966/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
967 expects to use version 10. */
968#undef HAVE_X11
969
970/* Define to 1 if you have the X11R6 or newer version of Xlib. */
971#undef HAVE_X11R6
972
973/* Define if you have usable X11R6-style XIM support. */
974#undef HAVE_X11R6_XIM
975
976/* Define to 1 if you have the X11R6 or newer version of Xt. */
977#undef HAVE_X11XTR6
978
979/* Define to 1 if you have the Xaw3d library (-lXaw3d). */
980#undef HAVE_XAW3D
981
982/* Define to 1 if you have the Xft library. */
983#undef HAVE_XFT
984
985/* Define to 1 if XIM is available */
986#undef HAVE_XIM
987
988/* Define to 1 if you have the XkbGetKeyboard function. */
989#undef HAVE_XKBGETKEYBOARD
990
991/* Define to 1 if you have the Xpm library (-lXpm). */
992#undef HAVE_XPM
993
994/* Define to 1 if you have the `XrmSetDatabase' function. */
995#undef HAVE_XRMSETDATABASE
996
997/* Define to 1 if you have the `XScreenNumberOfScreen' function. */
998#undef HAVE_XSCREENNUMBEROFSCREEN
999
1000/* Define to 1 if you have the `XScreenResourceString' function. */
1001#undef HAVE_XSCREENRESOURCESTRING
1002
1003/* Define if you have usable i18n support. */
1004#undef HAVE_X_I18N
1005
1006/* Define to 1 if you have the SM library (-lSM). */
1007#undef HAVE_X_SM
1008
1009/* Define to 1 if you want to use the X window system. */
1010#undef HAVE_X_WINDOWS
1011
1012/* Define to 1 if the system has the type `_Bool'. */
1013#undef HAVE__BOOL
1014
1015/* Define to 1 if you have the `_ftime' function. */
1016#undef HAVE__FTIME
1017
1018/* Define to 1 if you have the `__builtin_unwind_init' function. */
1019#undef HAVE___BUILTIN_UNWIND_INIT
1020
1021/* Define to 1 if you have the `__executable_start' function. */
1022#undef HAVE___EXECUTABLE_START
1023
1024/* Define to 1 if you have the `__fpending' function. */
1025#undef HAVE___FPENDING
1026
1027/* Define to support using a Hesiod database to find the POP server. */
1028#undef HESIOD
1029
1030/* Define to support Kerberos-authenticated POP mail retrieval. */
1031#undef KERBEROS
1032
1033/* Define to use Kerberos 5 instead of Kerberos 4. */
1034#undef KERBEROS5
1035
1036/* Define to 1 if localtime caches TZ. */
1037#define LOCALTIME_CACHE 1
1038
1039/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
1040 slash. */
1041#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
1042
1043/* String giving fallback POP mail host. */
1044#undef MAILHOST
1045
1046/* Define to unlink, rather than empty, mail spool after reading. */
1047#undef MAIL_UNLINK_SPOOL
1048
1049/* Define if the mailer uses flock to interlock the mail spool. */
1050#undef MAIL_USE_FLOCK
1051
1052/* Define if the mailer uses lockf to interlock the mail spool. */
1053#undef MAIL_USE_LOCKF
1054
1055/* Define to support MMDF mailboxes in movemail. */
1056#undef MAIL_USE_MMDF
1057
1058/* Define to support POP mail retrieval. */
1059#define MAIL_USE_POP 1
1060
1061/* Define to 1 if you don't have struct exception in math.h. */
1062#define NO_MATHERR 1
1063
1064/* Define to 1 if your C compiler doesn't accept -c and -o together. */
1065#undef NO_MINUS_C_MINUS_O
1066
1067/* Define if termio.h should not be included. */
1068#undef NO_TERMIO
1069
1070/* Define to 1 if `NSInteger' is defined. */
1071#undef NS_HAVE_NSINTEGER
1072
1073/* Define to 1 if you are using NS windowing under MacOS X. */
1074#undef NS_IMPL_COCOA
1075
1076/* Define to 1 if you are using NS windowing under GNUstep. */
1077#undef NS_IMPL_GNUSTEP
1078
1079/* Define to 1 if the nlist n_name member is a pointer */
1080#undef N_NAME_POINTER
1081
1082/* Define if the C compiler is the linker. */
1083#define ORDINARY_LINK 1
1084
299/* Name of package */ 1085/* Name of package */
300#define PACKAGE "emacs" 1086#define PACKAGE "emacs"
301 1087
1088/* Define to the address where bug reports for this package should be sent. */
1089#undef PACKAGE_BUGREPORT
1090
1091/* Define to the full name of this package. */
1092#undef PACKAGE_NAME
1093
1094/* Define to the full name and version of this package. */
1095#undef PACKAGE_STRING
1096
1097/* Define to the one symbol short name of this package. */
1098#undef PACKAGE_TARNAME
1099
1100/* Define to the home page for this package. */
1101#undef PACKAGE_URL
1102
1103/* Define to the version of this package. */
1104#undef PACKAGE_VERSION
1105
1106/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
1107 */
1108#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
1109
1110/* Define to 1 if pthread_sigmask() may returns 0 and have no effect. */
1111#undef PTHREAD_SIGMASK_INEFFECTIVE
1112
1113/* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */
1114#undef PTHREAD_SIGMASK_UNBLOCK_BUG
1115
1116/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1117 'ptrdiff_t'. */
1118#undef PTRDIFF_T_SUFFIX
1119
1120/* Define to 1 if readlink fails to recognize a trailing slash. */
1121#undef READLINK_TRAILING_SLASH_BUG
1122
1123/* Define REL_ALLOC if you want to use the relocating allocator for buffer
1124 space. */
1125#define REL_ALLOC 1
1126
1127/* Define to 1 if stat needs help when passed a directory name with a trailing
1128 slash */
1129#undef REPLACE_FUNC_STAT_DIR
1130
1131/* Define to 1 if stat needs help when passed a file name with a trailing
1132 slash */
1133#undef REPLACE_FUNC_STAT_FILE
1134
1135/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1136 'sig_atomic_t'. */
1137#undef SIG_ATOMIC_T_SUFFIX
1138
1139/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1140 'size_t'. */
1141#undef SIZE_T_SUFFIX
1142
1143/* If using the C implementation of alloca, define if you know the
1144 direction of stack growth for your system; otherwise it will be
1145 automatically deduced at runtime.
1146 STACK_DIRECTION > 0 => grows toward higher addresses
1147 STACK_DIRECTION < 0 => grows toward lower addresses
1148 STACK_DIRECTION = 0 => direction of growth unknown */
1149#undef STACK_DIRECTION
1150
1151/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1152#undef STAT_MACROS_BROKEN
1153
1154/* Define to 1 if you have the ANSI C header files. */
1155#undef STDC_HEADERS
1156
1157/* Define to 1 on System V Release 4. */
1158#undef SVR4
1159
1160/* Process async input synchronously. */
1161#undef SYNC_INPUT
1162
1163/* Define to use system malloc. */
1164#undef SYSTEM_MALLOC
1165
1166/* The type of system you are compiling for; sets `system-type'. */
1167#define SYSTEM_TYPE "windows-nt"
1168
1169/* Define to 1 if you use terminfo instead of termcap. */
1170#undef TERMINFO
1171
1172/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1173#define TIME_WITH_SYS_TIME 1
1174
1175/* Define to 1 if your <sys/time.h> declares `struct tm'. */
1176#undef TM_IN_SYS_TIME
1177
1178/* Define to 1 if the type of the st_atim member of a struct stat is struct
1179 timespec. */
1180#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
1181
1182/* Define to 1 for Encore UMAX. */
1183#undef UMAX
1184
1185/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
1186 <sys/cpustats.h>. */
1187#undef UMAX4_3
1188
1189/* Define to 1 if using GTK. */
1190#undef USE_GTK
1191
1192/* Define to 1 if using the Lucid X toolkit. */
1193#undef USE_LUCID
1194
1195/* Define to use mmap to allocate buffer text. */
1196#undef USE_MMAP_FOR_BUFFERS
1197
1198/* Define to 1 if using the Motif X toolkit. */
1199#undef USE_MOTIF
1200
1201/* Define to 1 if we should use toolkit scroll bars. */
1202#define USE_TOOLKIT_SCROLL_BARS 1
1203
1204/* Define to 1 if we should use XIM, if it is available. */
1205#undef USE_XIM
1206
1207/* Define to 1 if using an X toolkit. */
1208#undef USE_X_TOOLKIT
1209
1210/* Define for USG systems where it works to open a pty's tty in the parent
1211 process, then close and reopen it in the child. */
1212#undef USG_SUBTTY_WORKS
1213
302/* Version number of package */ 1214/* Version number of package */
303#define VERSION "24.1.50" 1215#define VERSION "24.1.50"
304 1216
305/* The type of system you are compiling for; sets `system-type'. */ 1217/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
306#define SYSTEM_TYPE "windows-nt" 1218 'wchar_t'. */
1219#undef WCHAR_T_SUFFIX
1220
1221/* Use long long for EMACS_INT if available. */
1222/* #undef WIDE_EMACS_INT */
1223
1224/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1225 'wint_t'. */
1226#undef WINT_T_SUFFIX
1227
1228/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1229 significant byte first (like Motorola and SPARC, unlike Intel). */
1230#if defined AC_APPLE_UNIVERSAL_BUILD
1231# if defined __BIG_ENDIAN__
1232# define WORDS_BIGENDIAN 1
1233# endif
1234#else
1235# ifndef WORDS_BIGENDIAN
1236# undef WORDS_BIGENDIAN
1237# endif
1238#endif
1239
1240/* Define this to check for malloc buffer overrun. */
1241#undef XMALLOC_OVERRUN_CHECK
1242
1243/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1244 XPointer or XPointer*. */
1245#undef XRegisterIMInstantiateCallback_arg6
1246
1247/* Enable large inode numbers on Mac OS X. */
1248#ifndef _DARWIN_USE_64_BIT_INODE
1249# define _DARWIN_USE_64_BIT_INODE 1
1250#endif
1251
1252/* Number of bits in a file offset, on hosts where this is settable. */
1253#undef _FILE_OFFSET_BITS
1254
1255/* enable compile-time and run-time bounds-checking, and some warnings */
1256#undef _FORTIFY_SOURCE
1257
1258/* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct
1259 stat.st_size becomes 64-bit. */
1260#undef _GL_WINDOWS_64_BIT_ST_SIZE
1261
1262/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1263#undef _LARGEFILE_SOURCE
1264
1265/* Define for large files, on AIX-style hosts. */
1266#undef _LARGE_FILES
1267
1268/* Define to 1 if on MINIX. */
1269#undef _MINIX
1270
1271/* Define if GNUstep uses ObjC exceptions. */
1272#undef _NATIVE_OBJC_EXCEPTIONS
1273
1274/* The _Noreturn keyword of C11. */
1275#if ! (defined _Noreturn \
1276 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
1277# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__))
1278# define _Noreturn __attribute__ ((__noreturn__))
1279# elif defined _MSC_VER && 1200 <= _MSC_VER
1280# define _Noreturn __declspec (noreturn)
1281# else
1282# define _Noreturn
1283# endif
1284#endif
1285
1286
1287/* Define to 2 if the system does not provide POSIX.1 features except with
1288 this defined. */
1289#undef _POSIX_1_SOURCE
1290
1291/* Define to 1 if you need to in order for 'stat' and other things to work. */
1292#undef _POSIX_SOURCE
1293
1294/* Needed for system_process_attributes on Solaris. */
1295#undef _STRUCTURED_PROC
1296
1297/* Define to 500 only on HP-UX. */
1298#undef _XOPEN_SOURCE
1299
1300/* Enable extensions on AIX 3, Interix. */
1301#ifndef _ALL_SOURCE
1302# undef _ALL_SOURCE
1303#endif
1304/* Enable general extensions on Mac OS X. */
1305#ifndef _DARWIN_C_SOURCE
1306# undef _DARWIN_C_SOURCE
1307#endif
1308/* Enable GNU extensions on systems that have them. */
1309#ifndef _GNU_SOURCE
1310# undef _GNU_SOURCE
1311#endif
1312/* Enable threading extensions on Solaris. */
1313#ifndef _POSIX_PTHREAD_SEMANTICS
1314# undef _POSIX_PTHREAD_SEMANTICS
1315#endif
1316/* Enable extensions on HP NonStop. */
1317#ifndef _TANDEM_SOURCE
1318# undef _TANDEM_SOURCE
1319#endif
1320/* Enable general extensions on Solaris. */
1321#ifndef __EXTENSIONS__
1322# undef __EXTENSIONS__
1323#endif
1324
1325
1326/* Define to rpl_ if the getopt replacement functions and variables should be
1327 used. */
1328#undef __GETOPT_PREFIX
1329
1330/* Define to compiler's equivalent of C99 restrict keyword in array
1331 declarations. Define as empty for no equivalent. */
1332#undef __restrict_arr
1333
1334/* Define to the used os dependent file. */
1335#define config_opsysfile "s/ms-w32.h"
1336
1337/* A replacement for va_copy, if needed. */
1338#define gl_va_copy(a,b) ((a) = (b))
1339
1340/* Define to rpl_gmtime if the replacement function should be used. */
1341#undef gmtime
307 1342
308/* Define to `__inline__' or `__inline' if that's what the C compiler 1343/* Define to `__inline__' or `__inline' if that's what the C compiler
309 calls it, or to nothing if 'inline' is not supported under any name. */ 1344 calls it, or to nothing if 'inline' is not supported under any name. */
310#ifdef __GNUC__
311#ifndef __cplusplus 1345#ifndef __cplusplus
312#undef inline 1346#undef inline
313#endif 1347#endif
314#else /* MSVC */ 1348
315#define inline __inline 1349/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1350 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1351 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1352 __APPLE__ && __MACH__ test for Mac OS X.
1353 __APPLE_CC__ tests for the Apple compiler and its version.
1354 __STDC_VERSION__ tests for the C99 mode. */
1355#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1356# define __GNUC_STDC_INLINE__ 1
316#endif 1357#endif
317 1358
1359/* Define to 1 if the compiler is checking for lint. */
1360#undef lint
1361
1362/* Define to rpl_localtime if the replacement function should be used. */
1363#undef localtime
1364
1365/* Define to a type if <wchar.h> does not define. */
1366#undef mbstate_t
1367
1368/* Define to `int' if <sys/types.h> does not define. */
1369#undef mode_t
1370
1371/* Define to the name of the strftime replacement function. */
1372#define my_strftime nstrftime
1373
1374/* Define to the type of st_nlink in struct stat, or a supertype. */
1375#define nlink_t short
1376
1377/* Define to `int' if <sys/types.h> does not define. */
1378#undef pid_t
1379
318/* Define to the equivalent of the C99 'restrict' keyword, or to 1380/* Define to the equivalent of the C99 'restrict' keyword, or to
319 nothing if this is not supported. Do not define if restrict is 1381 nothing if this is not supported. Do not define if restrict is
320 supported directly. */ 1382 supported directly. */
321#ifdef __GNUC__ 1383#undef restrict
322# define restrict __restrict__ 1384/* Work around a bug in Sun C++: it does not support _Restrict or
323#else 1385 __restrict__, even though the corresponding Sun C compiler ends up with
324# define restrict 1386 "#define restrict _Restrict" or "#define restrict __restrict__" in the
1387 previous line. Perhaps some future version of Sun C++ will work with
1388 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1389#if defined __SUNPRO_CC && !defined __RESTRICT
1390# define _Restrict
1391# define __restrict__
325#endif 1392#endif
326 1393
327/* `mode_t' is not defined for MSVC. Define. */ 1394/* type to use in place of socklen_t if not defined */
328#ifdef _MSC_VER 1395#undef socklen_t
329typedef unsigned short mode_t;
330#endif
331 1396
332/* A va_copy replacement for MSVC. */ 1397/* Define as a signed type of the same size as size_t. */
333#ifdef _MSC_VER 1398#undef ssize_t
334# ifdef _WIN64 1399
335# ifndef va_copy /* Need to be checked (?) */ 1400/* Define to any substitute for sys_siglist. */
336# define va_copy(d,s) ((d) = (s)) 1401#undef sys_siglist
337# endif
338# else /* not _WIN64 */
339# define va_copy(d,s) ((d) = (s))
340# endif /* not _WIN64 */
341#endif /* _MSC_VER */
342 1402
343/* Define as a marker that can be attached to declarations that might not 1403/* Define as a marker that can be attached to declarations that might not
344 be used. This helps to reduce warnings, such as from 1404 be used. This helps to reduce warnings, such as from
@@ -352,146 +1412,128 @@ typedef unsigned short mode_t;
352 is a misnomer outside of parameter lists. */ 1412 is a misnomer outside of parameter lists. */
353#define _UNUSED_PARAMETER_ _GL_UNUSED 1413#define _UNUSED_PARAMETER_ _GL_UNUSED
354 1414
355/* End of gnulib-related stuff. */ 1415/* The __pure__ attribute was added in gcc 2.96. */
356 1416#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
357#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */ 1417# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
358#define NO_INLINE __attribute__((noinline))
359#else 1418#else
360#define NO_INLINE 1419# define _GL_ATTRIBUTE_PURE /* empty */
361#endif 1420#endif
362 1421
363#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) 1422/* The __const__ attribute was added in gcc 2.95. */
364#define EXTERNALLY_VISIBLE __attribute__((externally_visible)) 1423#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
1424# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
365#else 1425#else
366#define EXTERNALLY_VISIBLE 1426# define _GL_ATTRIBUTE_CONST /* empty */
367#endif 1427#endif
368 1428
369#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
370# define ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
371#else
372# define ATTRIBUTE_FORMAT(spec) /* empty */
373#endif
374 1429
375#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) 1430/* Define as a macro for copying va_list variables. */
376# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ 1431#undef va_copy
377 ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument))
378#else
379# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
380 ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
381#endif
382 1432
383#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) 1433/* Define as `fork' if `vfork' does not work. */
384#define HAVE___BUILTIN_UNWIND_INIT 1 1434#undef vfork
385#endif
386
387#undef EMACS_CONFIGURATION
388
389#undef EMACS_CONFIG_OPTIONS
390
391/* The configuration script defines opsysfile to be the name of the
392 s/SYSTEM.h file that describes the system type you are using. The file
393 is chosen based on the configuration name you give.
394 1435
395 See the file ../etc/MACHINES for a list of systems and the
396 configuration names to use for them.
397 1436
398 See s/template.h for documentation on writing s/SYSTEM.h files. */ 1437/* Define AMPERSAND_FULL_NAME if you use the convention
399#undef config_opsysfile 1438 that & in the full name stands for the login id. */
400#include "s/ms-w32.h" 1439#undef AMPERSAND_FULL_NAME
401 1440
402/* Define `subprocesses' should be defined if you want to 1441/* `subprocesses' should be defined if you want to
403 have code for asynchronous subprocesses 1442 have code for asynchronous subprocesses
404 (as used in M-x compile and M-x shell). 1443 (as used in M-x compile and M-x shell).
405 Only MSDOS does not support this. */ 1444 Only MSDOS does not support this (it overrides
1445 this in its config_opsysfile below). */
406 1446
407#define subprocesses 1447#define subprocesses
408 1448
409/* Define STACK_DIRECTION here, but not if m/foo.h did. */ 1449/* Include the os dependent file. */
410#ifndef STACK_DIRECTION 1450#ifdef config_opsysfile
411#undef STACK_DIRECTION 1451# include config_opsysfile
1452#endif
1453
1454/* GNUstep needs a bit more pure memory. Of the existing knobs,
1455 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
1456 (There is probably a better place to do this, but right now the
1457 Cocoa side does this in s/darwin.h and we cannot parallel this
1458 exactly since GNUstep is multi-OS. */
1459#if defined HAVE_NS && defined NS_IMPL_GNUSTEP
1460# define SYSTEM_PURESIZE_EXTRA 30000
412#endif 1461#endif
413 1462
414#ifdef emacs /* Don't do this for lib-src. */ 1463#ifdef emacs /* Don't do this for lib-src. */
415/* Tell regex.c to use a type compatible with Emacs. */ 1464/* Tell regex.c to use a type compatible with Emacs. */
416#define RE_TRANSLATE_TYPE Lisp_Object 1465#define RE_TRANSLATE_TYPE Lisp_Object
417#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) 1466#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
418#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0) 1467#ifdef make_number
1468/* If make_number is a macro, use it. */
1469#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1470#else
1471/* If make_number is a function, avoid it. */
1472#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
419#endif 1473#endif
420
421#define my_strftime nstrftime /* for strftime.c */
422
423/* Define to the type of st_nlink in struct stat, or a supertype. */
424#define nlink_t short
425
426#ifndef WINDOWSNT
427/* Some of the files of Emacs which are intended for use with other
428 programs assume that if you have a config.h file, you must declare
429 the type of getenv. */
430extern char *getenv ();
431#endif 1474#endif
432 1475
433#endif /* EMACS_CONFIG_H */ 1476#include <string.h>
434 1477#include <stdlib.h>
435#if defined (__MINGW32__) || _MSC_VER >= 1400
436
437/* Define to 1 if the system has the type `long long int'. */
438# define HAVE_LONG_LONG_INT 1
439
440/* Define to 1 if the system has the type `unsigned long long int'. */
441# define HAVE_UNSIGNED_LONG_LONG_INT 1
442
443#elif _MSC_VER >= 1200
444
445/* Temporarily disable wider-than-pointer integers until they're tested more.
446 Build with CFLAGS='-DWIDE_EMACS_INT' to try them out. */
447/* #undef WIDE_EMACS_INT */
448 1478
449# ifdef WIDE_EMACS_INT 1479#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
1480#define NO_INLINE __attribute__((noinline))
1481#else
1482#define NO_INLINE
1483#endif
450 1484
451/* Use pre-C99-style 64-bit integers. */ 1485#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
452# define EMACS_INT __int64 1486#define EXTERNALLY_VISIBLE __attribute__((externally_visible))
453# define EMACS_INT_MAX _I64_MAX 1487#else
454# define pI "I64" 1488#define EXTERNALLY_VISIBLE
1489#endif
455 1490
456# endif 1491#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1492# define ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1493#else
1494# define ATTRIBUTE_FORMAT(spec) /* empty */
1495#endif
457 1496
1497#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
1498# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
1499 ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument))
1500#else
1501# define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
1502 ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
458#endif 1503#endif
459 1504
460#ifndef POINTER_TYPE 1505/* Some versions of GNU/Linux define noinline in their headers. */
461#define POINTER_TYPE void 1506#ifdef noinline
1507#undef noinline
462#endif 1508#endif
463 1509
464#ifndef PROTOTYPES 1510/* These won't be used automatically yet. We also need to know, at least,
465#define PROTOTYPES 1 1511 that the stack is continuous. */
1512#ifdef __GNUC__
1513# ifndef GC_SETJMP_WORKS
1514 /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */
1515# define GC_SETJMP_WORKS 1
1516# endif
466#endif 1517#endif
467 1518
468#include "string.h" 1519/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
469#ifdef HAVE_STRINGS_H 1520#ifdef __GNUC__
470#include "strings.h" 1521#define HAVE_ATTRIBUTE_ALIGNED 1
471#endif 1522#endif
472#include <stdlib.h>
473 1523
474/* The _Noreturn keyword of C11. */ 1524/* Define to 1 if strtold conforms to C99. */
475#if ! (defined _Noreturn \ 1525#ifdef __GNUC__
476 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) 1526#define HAVE_C99_STRTOLD 1
477# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__))
478# define _Noreturn __attribute__ ((__noreturn__))
479# elif defined _MSC_VER && 1200 <= _MSC_VER
480# define _Noreturn __declspec (noreturn)
481# else
482# define _Noreturn
483# endif
484#endif 1527#endif
485 1528
486/* Redefine abort. */ 1529#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
487#ifdef HAVE_NTGUI 1530#define HAVE___BUILTIN_UNWIND_INIT 1
488#define abort w32_abort
489_Noreturn void w32_abort (void);
490#endif 1531#endif
491 1532
492/* Prevent accidental use of features unavailable in 1533#endif /* EMACS_CONFIG_H */
493 older Windows versions we still support. */
494#define _WIN32_WINNT 0x0400
495 1534
496/* Make a leaner executable. */ 1535/*
497#define WIN32_LEAN_AND_MEAN 1 1536Local Variables:
1537mode: c
1538End:
1539*/
diff --git a/src/ChangeLog b/src/ChangeLog
index ab5417f4ac4..bb9fabfaa8e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12012-07-06 Juanma Barranquero <lekktu@gmail.com>
2 Eli Zaretskii <eliz@gnu.org>
3
4 * s/ms-w32.h: Settings not specific to Windows moved to nt/config.nt.
5 Windows-specific code from nt/config.nt moved here.
6 Obsolete settings removed.
7
12012-07-06 Paul Eggert <eggert@cs.ucla.edu> 82012-07-06 Paul Eggert <eggert@cs.ucla.edu>
2 9
3 * process.c: Avoid unnecessary calls to gettime. 10 * process.c: Avoid unnecessary calls to gettime.
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index f3d8b5ec472..866ffc9c048 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -27,6 +27,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
27#define DOS_NT /* MSDOS or WINDOWSNT */ 27#define DOS_NT /* MSDOS or WINDOWSNT */
28#endif 28#endif
29 29
30/* #undef const */
31
30/* If you are compiling with a non-C calling convention but need to 32/* If you are compiling with a non-C calling convention but need to
31 declare vararg routines differently, put it here. */ 33 declare vararg routines differently, put it here. */
32#define _VARARGS_ __cdecl 34#define _VARARGS_ __cdecl
@@ -36,8 +38,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36 convention must be whatever standard the libraries expect. */ 38 convention must be whatever standard the libraries expect. */
37#define _CALLBACK_ __cdecl 39#define _CALLBACK_ __cdecl
38 40
39#define NO_MATHERR 1
40
41/* Letter to use in finding device name of first pty, 41/* Letter to use in finding device name of first pty,
42 if system supports pty's. 'a' means it is /dev/ptya0 */ 42 if system supports pty's. 'a' means it is /dev/ptya0 */
43#define FIRST_PTY_LETTER 'a' 43#define FIRST_PTY_LETTER 'a'
@@ -57,15 +57,19 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
57 for received packets, so datagrams are broken too. */ 57 for received packets, so datagrams are broken too. */
58#define BROKEN_DATAGRAM_SOCKETS 1 58#define BROKEN_DATAGRAM_SOCKETS 1
59 59
60#define MAIL_USE_POP 1 60/* MSVC ignores the "register" keyword, so test fails even though
61 setjmp does work. */
62#define GC_SETJMP_WORKS 1
63
64/* Enable conservative stack marking for GC. */
65#define GC_MARK_STACK 1
66
61#define MAIL_USE_SYSTEM_LOCK 1 67#define MAIL_USE_SYSTEM_LOCK 1
62 68
63/* If the character used to separate elements of the executable path 69/* If the character used to separate elements of the executable path
64 is not ':', #define this to be the appropriate character constant. */ 70 is not ':', #define this to be the appropriate character constant. */
65#define SEPCHAR ';' 71#define SEPCHAR ';'
66 72
67#define ORDINARY_LINK 1
68
69/* ============================================================ */ 73/* ============================================================ */
70 74
71/* Here, add any special hacks needed to make Emacs work on this 75/* Here, add any special hacks needed to make Emacs work on this
@@ -81,6 +85,46 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
81#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\') 85#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\')
82#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_)) 86#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_))
83 87
88#ifdef __GNUC__
89#ifndef __cplusplus
90#undef inline
91#endif
92#else /* MSVC */
93#define inline __inline
94#endif
95
96#ifdef __GNUC__
97# define restrict __restrict__
98#else
99# define restrict
100#endif
101
102/* `mode_t' is not defined for MSVC. Define. */
103#ifdef _MSC_VER
104typedef unsigned short mode_t;
105#endif
106
107/* A va_copy replacement for MSVC. */
108#ifdef _MSC_VER
109# ifdef _WIN64
110# ifndef va_copy /* Need to be checked (?) */
111# define va_copy(d,s) ((d) = (s))
112# endif
113# else /* not _WIN64 */
114# define va_copy(d,s) ((d) = (s))
115# endif /* not _WIN64 */
116#endif /* _MSC_VER */
117
118#ifndef WINDOWSNT
119/* Some of the files of Emacs which are intended for use with other
120 programs assume that if you have a config.h file, you must declare
121 the type of getenv. */
122extern char *getenv ();
123#endif
124
125#ifdef HAVE_STRINGS_H
126#include "strings.h"
127#endif
84#include <sys/types.h> 128#include <sys/types.h>
85 129
86#ifdef _MSC_VER 130#ifdef _MSC_VER
@@ -104,79 +148,11 @@ struct sigaction {
104#define MAXPATHLEN _MAX_PATH 148#define MAXPATHLEN _MAX_PATH
105#endif 149#endif
106 150
107#define HAVE_SOUND 1
108
109#define HAVE_SYS_TIMEB_H 1
110#define HAVE_SYS_TIME_H 1
111#define HAVE_UNISTD_H 1
112#undef HAVE_UTIME_H
113#undef HAVE_LINUX_VERSION_H
114#undef HAVE_SYS_SYSTEMINFO_H
115#define HAVE_PWD_H 1
116#define TIME_WITH_SYS_TIME 1
117
118#define HAVE_GETTIMEOFDAY 1
119#define HAVE_GETHOSTNAME 1
120#define HAVE_DUP2 1
121#define HAVE_RENAME 1
122#define HAVE_CLOSEDIR 1
123#define HAVE_FSYNC 1 /* fsync is called _commit in MSVC. */
124
125#undef TM_IN_SYS_TIME
126#undef HAVE_TM_ZONE
127
128#define HAVE_LONG_FILE_NAMES 1
129
130#define HAVE_MKDIR 1
131#define HAVE_RMDIR 1
132#define HAVE_RANDOM 1
133#undef HAVE_SYSINFO
134#undef HAVE_LRAND48
135#define HAVE_LOGB 1
136#define HAVE_FREXP 1
137#define HAVE_FMOD 1
138#undef HAVE_RINT
139#undef HAVE_CBRT
140#undef HAVE_RES_INIT /* For -lresolv on Suns. */
141#undef HAVE_SETSID
142#undef HAVE_FPATHCONF
143#define HAVE_SELECT 1
144#undef HAVE_EUIDACCESS
145#define HAVE_GETPAGESIZE 1
146#define HAVE_TZSET 1
147#define HAVE_SETLOCALE 1
148#undef HAVE_UTIMES
149#undef HAVE_SETRLIMIT
150#undef HAVE_SETPGID
151/* If you think about defining HAVE_GETCWD, don't: the alternative
152 getwd is redefined on w32.c, and does not really return the current
153 directory, to get the desired results elsewhere in Emacs */
154#undef HAVE_GETCWD
155#define HAVE_SHUTDOWN 1
156
157#define LOCALTIME_CACHE
158#define HAVE_INET_SOCKETS 1
159
160#undef HAVE_AIX_SMT_EXP
161#define USE_TOOLKIT_SCROLL_BARS 1
162
163/* MinGW has these in its library; MSVC doesn't. */ 151/* MinGW has these in its library; MSVC doesn't. */
164#ifdef _MSC_VER 152#ifdef _MSC_VER
165#define strcasecmp(s1,s2) _stricmp(s1,s2) 153#define strcasecmp(s1,s2) _stricmp(s1,s2)
166#define strncasecmp(s1,s2) _strnicmp(s1,s2) 154#define strncasecmp(s1,s2) _strnicmp(s1,s2)
167#endif 155#endif
168#define HAVE_STRCASECMP 1
169#define HAVE_STRNCASECMP 1
170
171/* Define if you have the ANSI `strerror' function.
172 Otherwise you must have the variable `char *sys_errlist[]'. */
173#define HAVE_STRERROR 1
174
175/* Define if `struct utimbuf' is declared by <utime.h>. */
176#undef HAVE_STRUCT_UTIMBUF
177
178#define HAVE_MOUSE 1
179#define HAVE_H_ERRNO 1
180 156
181#ifdef HAVE_NTGUI 157#ifdef HAVE_NTGUI
182#define HAVE_WINDOW_SYSTEM 1 158#define HAVE_WINDOW_SYSTEM 1
@@ -354,6 +330,13 @@ extern char *get_emacs_configuration_options (void);
354#define _WINSOCKAPI_ 1 330#define _WINSOCKAPI_ 1
355#define _WINSOCK_H 331#define _WINSOCK_H
356 332
333/* Prevent accidental use of features unavailable in
334 older Windows versions we still support. */
335#define _WIN32_WINNT 0x0400
336
337/* Make a leaner executable. */
338#define WIN32_LEAN_AND_MEAN 1
339
357/* Defines size_t and alloca (). */ 340/* Defines size_t and alloca (). */
358#ifdef emacs 341#ifdef emacs
359#define malloc e_malloc 342#define malloc e_malloc
@@ -367,6 +350,16 @@ extern char *get_emacs_configuration_options (void);
367#include <malloc.h> 350#include <malloc.h>
368#endif 351#endif
369 352
353/* stdlib.h must be included after redefining malloc & friends, but
354 before redefining abort. Isn't library redefinition funny? */
355#include <stdlib.h>
356
357/* Redefine abort. */
358#ifdef HAVE_NTGUI
359#define abort w32_abort
360extern _Noreturn void w32_abort (void);
361#endif
362
370#include <sys/stat.h> 363#include <sys/stat.h>
371 364
372/* Define for those source files that do not include enough NT system files. */ 365/* Define for those source files that do not include enough NT system files. */
@@ -379,14 +372,36 @@ extern char *get_emacs_configuration_options (void);
379#endif 372#endif
380 373
381/* For proper declaration of environ. */ 374/* For proper declaration of environ. */
382#include <stdlib.h>
383#ifndef sys_nerr 375#ifndef sys_nerr
384#define sys_nerr _sys_nerr 376#define sys_nerr _sys_nerr
385#endif 377#endif
386#include <string.h>
387 378
388extern int getloadavg (double *, int); 379extern int getloadavg (double *, int);
389 380
381#if defined (__MINGW32__) || _MSC_VER >= 1400
382
383/* Define to 1 if the system has the type `long long int'. */
384# define HAVE_LONG_LONG_INT 1
385
386/* Define to 1 if the system has the type `unsigned long long int'. */
387# define HAVE_UNSIGNED_LONG_LONG_INT 1
388
389#elif _MSC_VER >= 1200
390
391/* Temporarily disable wider-than-pointer integers until they're tested more.
392 Build with CFLAGS='-DWIDE_EMACS_INT' to try them out. */
393
394# ifdef WIDE_EMACS_INT
395
396/* Use pre-C99-style 64-bit integers. */
397# define EMACS_INT __int64
398# define EMACS_INT_MAX _I64_MAX
399# define pI "I64"
400
401# endif
402
403#endif
404
390/* We need a little extra space, see ../../lisp/loadup.el. */ 405/* We need a little extra space, see ../../lisp/loadup.el. */
391#define SYSTEM_PURESIZE_EXTRA 50000 406#define SYSTEM_PURESIZE_EXTRA 50000
392 407
@@ -424,5 +439,4 @@ extern void _DebPrint (const char *fmt, ...);
424#define DebPrint(stuff) 439#define DebPrint(stuff)
425#endif 440#endif
426 441
427
428/* ============================================================ */ 442/* ============================================================ */