VirtualBox

source: kBuild/trunk/src/kmk/config.h.W32.template@ 2091

Last change on this file since 2091 was 1993, checked in by bird, 16 years ago

Merged in current GNU Make code (CVS from 2008-10-28). Ref #55.

File size: 14.5 KB
Line 
1/* config.h.W32 -- hand-massaged config.h file for Windows builds -*-C-*-
2
3Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
42006, 2007 Free Software Foundation, Inc.
5This file is part of GNU Make.
6
7GNU Make is free software; you can redistribute it and/or modify it under the
8terms of the GNU General Public License as published by the Free Software
9Foundation; either version 3 of the License, or (at your option) any later
10version.
11
12GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License along with
17this program. If not, see <http://www.gnu.org/licenses/>. */
18
19/* Suppress some Visual C++ warnings.
20 Maybe after the code cleanup for ISO C we can remove some/all of these. */
21#if _MSC_VER > 1000
22# pragma warning(disable:4100) /* unreferenced formal parameter */
23# pragma warning(disable:4102) /* unreferenced label */
24# pragma warning(disable:4127) /* conditional expression is constant */
25# pragma warning(disable:4131) /* uses old-style declarator */
26# pragma warning(disable:4702) /* unreachable code */
27#endif
28
29/* Define to 1 if the `closedir' function returns void instead of `int'. */
30/* #undef CLOSEDIR_VOID */
31
32/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
33 systems. This function is required for `alloca.c' support on those systems.
34 */
35/* #undef CRAY_STACKSEG_END */
36
37/* Define to 1 if using `alloca.c'. */
38/* #undef C_ALLOCA */
39
40/* Define to 1 if using `getloadavg.c'. */
41/*#define C_GETLOADAVG 1*/
42
43/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
44/* #undef DGUX */
45
46/* Define to 1 if translation of program messages to the user's native
47 language is requested. */
48/* #undef ENABLE_NLS */
49
50/* Use high resolution file timestamps if nonzero. */
51#define FILE_TIMESTAMP_HI_RES 0
52
53/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
54 */
55/* #undef GETLOADAVG_PRIVILEGED */
56
57/* Define to 1 if you have `alloca', as a function or macro. */
58#define HAVE_ALLOCA 1
59
60/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
61 */
62/* #undef HAVE_ALLOCA_H */
63
64/* Define if your compiler conforms to the ANSI C standard. */
65#define HAVE_ANSI_COMPILER 1
66
67/* Define to 1 if you have the `bsd_signal' function. */
68/* #undef HAVE_BSD_SIGNAL */
69
70/* Use case insensitive file names */
71/* #undef HAVE_CASE_INSENSITIVE_FS */
72
73/* Define if you have the clock_gettime function. */
74/* #undef HAVE_CLOCK_GETTIME */
75
76/* Define if the GNU dcgettext() function is already present or preinstalled.
77 */
78/* #undef HAVE_DCGETTEXT */
79
80/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
81 */
82#define HAVE_DIRENT_H 1
83
84/* Define to 1 if you have the <direct.h> header file, and it defines getcwd()
85 and chdir().
86 */
87#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(__INTERIX)
88# define HAVE_DIRECT_H 1
89#endif
90
91/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
92/* #undef HAVE_DOPRNT */
93
94/* Use platform specific coding */
95#define HAVE_DOS_PATHS 1
96
97/* Define to 1 if you have the `dup2' function. */
98#define HAVE_DUP2 1
99
100/* Define to 1 if you have the <fcntl.h> header file. */
101#define HAVE_FCNTL_H 1
102
103/* Define to 1 if you have the `fdopen' function. */
104/*#define HAVE_FDOPEN 1*/
105
106/* Define to 1 if you have the `fork' function. */
107/* #undef HAVE_FORK */
108
109/* Define to 1 if you have the `getcwd' function. */
110#define HAVE_GETCWD 1
111
112/* Define to 1 if you have the `getgroups' function. */
113/* #undef HAVE_GETGROUPS */
114
115/* Define to 1 if you have the `gethostbyname' function. */
116/* #undef HAVE_GETHOSTBYNAME */
117
118/* Define to 1 if you have the `gethostname' function. */
119/* #undef HAVE_GETHOSTNAME */
120
121/* Define to 1 if you have the `getloadavg' function. */
122/* #undef HAVE_GETLOADAVG */
123
124/* Define to 1 if you have the `getrlimit' function. */
125/* #undef HAVE_GETRLIMIT */
126
127/* Define if the GNU gettext() function is already present or preinstalled. */
128/* #undef HAVE_GETTEXT */
129
130/* Define if you have a standard gettimeofday function */
131/* #undef HAVE_GETTIMEOFDAY */
132
133/* Define if you have the iconv() function. */
134/* #undef HAVE_ICONV */
135
136/* Define to 1 if you have the <inttypes.h> header file. */
137/*#define HAVE_INTTYPES_H 1*/
138
139/* Define to 1 if you have the `dgc' library (-ldgc). */
140/* #undef HAVE_LIBDGC */
141
142/* Define to 1 if you have the `kstat' library (-lkstat). */
143/* #undef HAVE_LIBKSTAT */
144
145/* Define to 1 if you have the <limits.h> header file. */
146#define HAVE_LIMITS_H 1
147
148/* Define to 1 if you have the <locale.h> header file. */
149/*#define HAVE_LOCALE_H 1*/
150
151/* Define to 1 if you have the <mach/mach.h> header file. */
152/* #undef HAVE_MACH_MACH_H */
153
154/* Define to 1 if you have the `memmove' function. */
155#define HAVE_MEMMOVE 1
156
157/* Define to 1 if you have the <memory.h> header file. */
158#define HAVE_MEMORY_H 1
159
160/* Define to 1 if you have the `mkstemp' function. */
161/* #undef HAVE_MKSTEMP */
162
163/* Define to 1 if you have the `mktemp' function. */
164#define HAVE_MKTEMP 1
165
166/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
167/* #undef HAVE_NDIR_H */
168
169/* Define to 1 if you have the <nlist.h> header file. */
170/* #undef HAVE_NLIST_H */
171
172/* Define to 1 if you have the `pipe' function. */
173/* #undef HAVE_PIPE */
174
175/* Define to 1 if you have the `pstat_getdynamic' function. */
176/* #undef HAVE_PSTAT_GETDYNAMIC */
177
178/* Define to 1 if you have the `realpath' function. */
179/* #undef HAVE_REALPATH */
180
181/* Define if <signal.h> defines the SA_RESTART constant. */
182/* #undef HAVE_SA_RESTART */
183
184/* Define to 1 if you have the `setegid' function. */
185/* #undef HAVE_SETEGID */
186
187/* Define to 1 if you have the `seteuid' function. */
188/* #undef HAVE_SETEUID */
189
190/* Define to 1 if you have the `setlinebuf' function. */
191/* #undef HAVE_SETLINEBUF */
192
193/* Define to 1 if you have the `setlocale' function. */
194/*#define HAVE_SETLOCALE 1*/
195
196/* Define to 1 if you have the `setregid' function. */
197/* #undef HAVE_SETREGID */
198
199/* Define to 1 if you have the `setreuid' function. */
200/* #undef HAVE_SETREUID */
201
202/* Define to 1 if you have the `setrlimit' function. */
203/* #undef HAVE_SETRLIMIT */
204
205/* Define to 1 if you have the `setvbuf' function. */
206/*#define HAVE_SETVBUF 1 */
207
208/* Define to 1 if you have the `sigaction' function. */
209/* #undef HAVE_SIGACTION */
210
211/* Define to 1 if you have the `sigsetmask' function. */
212/* #undef HAVE_SIGSETMASK */
213
214/* Define to 1 if you have the `socket' function. */
215/* #undef HAVE_SOCKET */
216
217/* Define to 1 if you have the <stdarg.h> header file. */
218#define HAVE_STDARG_H 1
219
220/* Define to 1 if you have the <stdint.h> header file. */
221/*#define HAVE_STDINT_H 1*/
222
223/* Define to 1 if you have the <stdlib.h> header file. */
224#define HAVE_STDLIB_H 1
225
226/* Define to 1 if you have the `strcasecmp' function. */
227/* #undef HAVE_STRCASECMP */
228
229/* Define to 1 if you have the `strcmpi' function. */
230#define HAVE_STRCMPI 1
231
232/* Define to 1 if you have the `stricmp' function. */
233/* #undef HAVE_STRICMP */
234
235/* Define to 1 if you have the `strchr' function. */
236#define HAVE_STRCHR 1
237
238/* Define to 1 if you have the `strcoll' function and it is properly defined.
239 */
240#define HAVE_STRCOLL 1
241
242/* Define to 1 if you have the `strdup' function. */
243#define HAVE_STRDUP 1 /* bird */
244
245/* Define to 1 if you have the `strerror' function. */
246#define HAVE_STRERROR 1
247
248/* Define to 1 if you have the <strings.h> header file. */
249/* #define HAVE_STRINGS_H 1 */
250
251/* Define to 1 if you have the <string.h> header file. */
252#define HAVE_STRING_H 1
253
254/* Define to 1 if you have the `strsignal' function. */
255/* #undef HAVE_STRSIGNAL */
256
257/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
258/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
259
260/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
261 */
262/* #undef HAVE_SYS_DIR_H */
263
264/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
265 */
266/* #undef HAVE_SYS_NDIR_H */
267
268/* Define to 1 if you have the <sys/param.h> header file. */
269/* #define HAVE_SYS_PARAM_H 1 */
270
271/* Define to 1 if you have the <sys/resource.h> header file. */
272/* #undef HAVE_SYS_RESOURCE_H */
273
274/* Define to 1 if you have the <sys/stat.h> header file. */
275/* #define HAVE_SYS_STAT_H 1 */
276
277/* Define to 1 if you have the <sys/timeb.h> header file. */
278/*#define HAVE_SYS_TIMEB_H 1*/
279
280/* Define to 1 if you have the <sys/time.h> header file. */
281/*#define HAVE_SYS_TIME_H 1*/
282
283/* Define to 1 if you have the <sys/types.h> header file. */
284/*#define HAVE_SYS_TYPES_H 1*/
285
286/* Define to 1 if you have the <sys/wait.h> header file. */
287/* #undef HAVE_SYS_WAIT_H */
288
289/* Define this if you have the \`union wait' type in <sys/wait.h>. */
290/* #undef HAVE_UNION_WAIT */
291
292/* Define to 1 if you have the <unistd.h> header file. */
293/* #define HAVE_UNISTD_H 1*/
294
295/* Define to 1 if you have the <varargs.h> header file. */
296/* #undef HAVE_VARARGS_H */
297
298/* Define to 1 if you have the `vfork' function. */
299/* #undef HAVE_VFORK */
300
301/* Define to 1 if you have the <vfork.h> header file. */
302/* #undef HAVE_VFORK_H */
303
304/* Define to 1 if you have the `vprintf' function. */
305#define HAVE_VPRINTF 1
306
307
308/* Define to 1 if you have the `wait3' function. */
309/* #undef HAVE_WAIT3 */
310
311/* Define to 1 if you have the `waitpid' function. */
312/* #undef HAVE_WAITPID */
313
314/* Define to 1 if `fork' works. */
315/* #undef HAVE_WORKING_FORK */
316
317/* Define to 1 if `vfork' works. */
318/* #undef HAVE_WORKING_VFORK */
319
320/* Build host information. */
321#define MAKE_HOST "Windows32"
322
323/* Define this to enable job server support in GNU make. */
324/* #undef MAKE_JOBSERVER */
325
326/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
327 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
328/* #undef NLIST_NAME_UNION */
329
330/* Define if struct nlist.n_name is a pointer rather than an array. */
331/* #undef NLIST_STRUCT */
332
333/* Define to 1 if your C compiler doesn't accept -c and -o together. */
334/* #undef NO_MINUS_C_MINUS_O */
335
336/* Name of this package (needed by automake) */
337#define PACKAGE "%PACKAGE%"
338
339/* Define to 1 if the C compiler supports function prototypes. */
340#define PROTOTYPES 1
341
342/* Define as the return type of signal handlers (`int' or `void'). */
343#define RETSIGTYPE void
344
345/* Define to the name of the SCCS 'get' command. */
346#define SCCS_GET "echo no sccs get"
347
348/* Define this if the SCCS 'get' command understands the '-G<file>' option. */
349/* #undef SCCS_GET_MINUS_G */
350
351/* Define to 1 if the `setvbuf' function takes the buffering type as its
352 second argument and the buffer pointer as the third, as on System V before
353 release 3. */
354/* #undef SETVBUF_REVERSED */
355
356/* If using the C implementation of alloca, define if you know the
357 direction of stack growth for your system; otherwise it will be
358 automatically deduced at run-time.
359 STACK_DIRECTION > 0 => grows toward higher addresses
360 STACK_DIRECTION < 0 => grows toward lower addresses
361 STACK_DIRECTION = 0 => direction of growth unknown */
362/* #undef STACK_DIRECTION */
363
364/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
365/* #undef STAT_MACROS_BROKEN */
366
367/* Define to 1 if you have the ANSI C header files. */
368#define STDC_HEADERS 1
369
370/* Define if struct stat contains a nanoseconds field */
371/* #undef ST_MTIM_NSEC */
372
373/* Define to 1 on System V Release 4. */
374/* #undef SVR4 */
375
376/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
377/* #define TIME_WITH_SYS_TIME 1 */
378
379/* Define to 1 for Encore UMAX. */
380/* #undef UMAX */
381
382/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
383 <sys/cpustats.h>. */
384/* #undef UMAX4_3 */
385
386/* Version number of package */
387#define VERSION "%VERSION%"
388
389/* Define if using the dmalloc debugging malloc package */
390/* #undef WITH_DMALLOC */
391
392/* Define to 1 if on AIX 3.
393 System headers sometimes define this.
394 We just want to avoid a redefinition error message. */
395#ifndef _ALL_SOURCE
396/* # undef _ALL_SOURCE */
397#endif
398
399/* Number of bits in a file offset, on hosts where this is settable. */
400/* #undef _FILE_OFFSET_BITS */
401
402/* Define for large files, on AIX-style hosts. */
403/* #undef _LARGE_FILES */
404
405/* Define to 1 if on MINIX. */
406/* #undef _MINIX */
407
408/* Define to 2 if the system does not provide POSIX.1 features except with
409 this defined. */
410/* #undef _POSIX_1_SOURCE */
411
412/* Define to 1 if you need to in order for `stat' and other things to work. */
413#define _POSIX_SOURCE 1
414
415/* Define like PROTOTYPES; this can be used by system headers. */
416/*#define __PROTOTYPES 1*/
417
418/* Define to empty if `const' does not conform to ANSI C. */
419/* #undef const */
420
421#include <sys/types.h>
422
423/* Define to `int' if <sys/types.h> doesn't define. */
424#define gid_t int
425
426/* Define to `int' if <sys/types.h> does not define. */
427/* GCC 4.x reportedly defines pid_t. */
428#ifndef _PID_T_
429#define pid_t int
430#endif
431
432/* Define to `int' if <sys/types.h> doesn't define. */
433#define uid_t int
434
435/* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */
436#define uintmax_t unsigned long
437
438/* Define as `fork' if `vfork' does not work. */
439/*#define vfork fork*/
440
441/* Define to `unsigned long' or `unsigned long long'
442 if <inttypes.h> doesn't define. */
443#define uintmax_t unsigned long
444
445/* Define if you support file names longer than 14 characters. */
446#define HAVE_LONG_FILE_NAMES 1
447
448/* Define if your struct stat has st_rdev. */
449#undef HAVE_ST_RDEV
450#define HAVE_ST_RDEV 1
451
452/* Define if you have the strftime function. */
453#undef HAVE_STRFTIME
454#define HAVE_STRFTIME 1
455
456/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
457/* #undef HAVE_SYS_WAIT_H */
458
459/* Define if your struct tm has tm_zone. */
460/* #undef HAVE_TM_ZONE */
461
462/* Define if you don't have tm_zone but do have the external array
463 tzname. */
464#undef HAVE_TZNAME
465#define HAVE_TZNAME 1
466
467/* Define if utime(file, NULL) sets file's timestamp to the present. */
468#undef HAVE_UTIME_NULL
469#define HAVE_UTIME_NULL 1
470
471/* Define to the installation directory for locales. */
472#define LOCALEDIR ""
473
474/*
475 * Refer to README.W32 for info on the following settings
476 */
477
478
479/*
480 * If you have a shell that does not grok 'sh -c quoted-command-line'
481 * correctly, you need this setting. Please see below for specific
482 * shell support.
483 */
484/*#define BATCH_MODE_ONLY_SHELL 1 */
485
486/*
487 * Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
488 * Do NOT define BATCH_MODE_ONLY_SHELL if you define HAVE_CYGWIN_SHELL
489 */
490/*#define HAVE_CYGWIN_SHELL 1 */
491
492/*
493 * Define if you have the MKS tool set or shell. Do NOT define
494 * BATCH_MODE_ONLY_SHELL if you define HAVE_MKS_SHELL
495 */
496/*#define HAVE_MKS_SHELL 1 */
497
498/*
499 * Enforce the mutual exclusivity restriction.
500 */
501#ifdef HAVE_MKS_SHELL
502#undef BATCH_MODE_ONLY_SHELL
503#endif
504
505#ifdef HAVE_CYGWIN_SHELL
506#undef BATCH_MODE_ONLY_SHELL
507#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette