VirtualBox

source: kBuild/trunk/src/gmake/config.h.W32@ 930

Last change on this file since 930 was 554, checked in by bird, 18 years ago

Giving up non batch mode with cygwin ash, it screws up big time with double quoted argument.

  • Property svn:eol-style set to native
File size: 14.3 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 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 2, or (at your option) any later version.
10
11GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License along with
16GNU Make; see the file COPYING. If not, write to the Free Software
17Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
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 don't have `vprintf' but do have `_doprnt.' */
85/* #undef HAVE_DOPRNT */
86
87/* Use platform specific coding */
88#define HAVE_DOS_PATHS 1
89
90/* Define to 1 if you have the `dup2' function. */
91#define HAVE_DUP2 1
92
93/* Define to 1 if you have the <fcntl.h> header file. */
94#define HAVE_FCNTL_H 1
95
96/* Define to 1 if you have the `fdopen' function. */
97/*#define HAVE_FDOPEN 1*/
98
99/* Define to 1 if you have the `fork' function. */
100/* #undef HAVE_FORK */
101
102/* Define to 1 if you have the `getcwd' function. */
103#define HAVE_GETCWD 1
104
105/* Define to 1 if you have the `getgroups' function. */
106/* #undef HAVE_GETGROUPS */
107
108/* Define to 1 if you have the `gethostbyname' function. */
109/* #undef HAVE_GETHOSTBYNAME */
110
111/* Define to 1 if you have the `gethostname' function. */
112/* #undef HAVE_GETHOSTNAME */
113
114/* Define to 1 if you have the `getloadavg' function. */
115/* #undef HAVE_GETLOADAVG */
116
117/* Define to 1 if you have the `getrlimit' function. */
118/* #undef HAVE_GETRLIMIT */
119
120/* Define if the GNU gettext() function is already present or preinstalled. */
121/* #undef HAVE_GETTEXT */
122
123/* Define if you have a standard gettimeofday function */
124/* #undef HAVE_GETTIMEOFDAY */
125
126/* Define if you have the iconv() function. */
127/* #undef HAVE_ICONV */
128
129/* Define to 1 if you have the <inttypes.h> header file. */
130/*#define HAVE_INTTYPES_H 1*/
131
132/* Define to 1 if you have the `dgc' library (-ldgc). */
133/* #undef HAVE_LIBDGC */
134
135/* Define to 1 if you have the `kstat' library (-lkstat). */
136/* #undef HAVE_LIBKSTAT */
137
138/* Define to 1 if you have the <limits.h> header file. */
139#define HAVE_LIMITS_H 1
140
141/* Define to 1 if you have the <locale.h> header file. */
142/*#define HAVE_LOCALE_H 1*/
143
144/* Define to 1 if you have the <mach/mach.h> header file. */
145/* #undef HAVE_MACH_MACH_H */
146
147/* Define to 1 if you have the `memmove' function. */
148#define HAVE_MEMMOVE 1
149
150/* Define to 1 if you have the <memory.h> header file. */
151#define HAVE_MEMORY_H 1
152
153/* Define to 1 if you have the `mkstemp' function. */
154/* #undef HAVE_MKSTEMP */
155
156/* Define to 1 if you have the `mktemp' function. */
157#define HAVE_MKTEMP 1
158
159/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
160/* #undef HAVE_NDIR_H */
161
162/* Define to 1 if you have the <nlist.h> header file. */
163/* #undef HAVE_NLIST_H */
164
165/* Define to 1 if you have the `pipe' function. */
166/* #undef HAVE_PIPE */
167
168/* Define to 1 if you have the `pstat_getdynamic' function. */
169/* #undef HAVE_PSTAT_GETDYNAMIC */
170
171/* Define to 1 if you have the `realpath' function. */
172/* #undef HAVE_REALPATH */
173
174/* Define if <signal.h> defines the SA_RESTART constant. */
175/* #undef HAVE_SA_RESTART */
176
177/* Define to 1 if you have the `setegid' function. */
178/* #undef HAVE_SETEGID */
179
180/* Define to 1 if you have the `seteuid' function. */
181/* #undef HAVE_SETEUID */
182
183/* Define to 1 if you have the `setlinebuf' function. */
184/* #undef HAVE_SETLINEBUF */
185
186/* Define to 1 if you have the `setlocale' function. */
187/*#define HAVE_SETLOCALE 1*/
188
189/* Define to 1 if you have the `setregid' function. */
190/* #undef HAVE_SETREGID */
191
192/* Define to 1 if you have the `setreuid' function. */
193/* #undef HAVE_SETREUID */
194
195/* Define to 1 if you have the `setrlimit' function. */
196/* #undef HAVE_SETRLIMIT */
197
198/* Define to 1 if you have the `setvbuf' function. */
199/*#define HAVE_SETVBUF 1 */
200
201/* Define to 1 if you have the `sigaction' function. */
202/* #undef HAVE_SIGACTION */
203
204/* Define to 1 if you have the `sigsetmask' function. */
205/* #undef HAVE_SIGSETMASK */
206
207/* Define to 1 if you have the `socket' function. */
208/* #undef HAVE_SOCKET */
209
210/* Define to 1 if you have the <stdarg.h> header file. */
211#define HAVE_STDARG_H 1
212
213/* Define to 1 if you have the <stdint.h> header file. */
214/*#define HAVE_STDINT_H 1*/
215
216/* Define to 1 if you have the <stdlib.h> header file. */
217#define HAVE_STDLIB_H 1
218
219/* Define to 1 if you have the `strcasecmp' function. */
220/* #undef HAVE_STRCASECMP */
221
222/* Define to 1 if you have the `strchr' function. */
223#define HAVE_STRCHR 1
224
225/* Define to 1 if you have the `strcoll' function and it is properly defined.
226 */
227#define HAVE_STRCOLL 1
228
229/* Define to 1 if you have the `strdup' function. */
230#define HAVE_STRDUP 1 /* bird */
231
232/* Define to 1 if you have the `strerror' function. */
233#define HAVE_STRERROR 1
234
235/* Define to 1 if you have the <strings.h> header file. */
236/* #define HAVE_STRINGS_H 1 */
237
238/* Define to 1 if you have the <string.h> header file. */
239#define HAVE_STRING_H 1
240
241/* Define to 1 if you have the `strsignal' function. */
242/* #undef HAVE_STRSIGNAL */
243
244/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
245/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
246
247/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
248 */
249/* #undef HAVE_SYS_DIR_H */
250
251/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
252 */
253/* #undef HAVE_SYS_NDIR_H */
254
255/* Define to 1 if you have the <sys/param.h> header file. */
256/* #define HAVE_SYS_PARAM_H 1 */
257
258/* Define to 1 if you have the <sys/resource.h> header file. */
259/* #undef HAVE_SYS_RESOURCE_H */
260
261/* Define to 1 if you have the <sys/stat.h> header file. */
262/* #define HAVE_SYS_STAT_H 1 */
263
264/* Define to 1 if you have the <sys/timeb.h> header file. */
265/*#define HAVE_SYS_TIMEB_H 1*/
266
267/* Define to 1 if you have the <sys/time.h> header file. */
268/*#define HAVE_SYS_TIME_H 1*/
269
270/* Define to 1 if you have the <sys/types.h> header file. */
271/*#define HAVE_SYS_TYPES_H 1*/
272
273/* Define to 1 if you have the <sys/wait.h> header file. */
274/* #undef HAVE_SYS_WAIT_H */
275
276/* Define this if you have the \`union wait' type in <sys/wait.h>. */
277/* #undef HAVE_UNION_WAIT */
278
279/* Define to 1 if you have the <unistd.h> header file. */
280/* #define HAVE_UNISTD_H 1*/
281
282/* Define to 1 if you have the <varargs.h> header file. */
283/* #undef HAVE_VARARGS_H */
284
285/* Define to 1 if you have the `vfork' function. */
286/* #undef HAVE_VFORK */
287
288/* Define to 1 if you have the <vfork.h> header file. */
289/* #undef HAVE_VFORK_H */
290
291/* Define to 1 if you have the `vprintf' function. */
292#define HAVE_VPRINTF 1
293
294
295/* Define to 1 if you have the `wait3' function. */
296/* #undef HAVE_WAIT3 */
297
298/* Define to 1 if you have the `waitpid' function. */
299/* #undef HAVE_WAITPID */
300
301/* Define to 1 if `fork' works. */
302/* #undef HAVE_WORKING_FORK */
303
304/* Define to 1 if `vfork' works. */
305/* #undef HAVE_WORKING_VFORK */
306
307/* Build host information. */
308#define MAKE_HOST "Windows32"
309
310/* Define this to enable job server support in GNU make. */
311/* #undef MAKE_JOBSERVER */
312
313/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
314 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
315/* #undef NLIST_NAME_UNION */
316
317/* Define if struct nlist.n_name is a pointer rather than an array. */
318/* #undef NLIST_STRUCT */
319
320/* Define to 1 if your C compiler doesn't accept -c and -o together. */
321/* #undef NO_MINUS_C_MINUS_O */
322
323/* Name of this package (needed by automake) */
324#define PACKAGE "make"
325
326/* Define to 1 if the C compiler supports function prototypes. */
327#define PROTOTYPES 1
328
329/* Define as the return type of signal handlers (`int' or `void'). */
330#define RETSIGTYPE void
331
332/* Define to the name of the SCCS 'get' command. */
333#define SCCS_GET "echo no sccs get"
334
335/* Define this if the SCCS 'get' command understands the '-G<file>' option. */
336/* #undef SCCS_GET_MINUS_G */
337
338/* Define to 1 if the `setvbuf' function takes the buffering type as its
339 second argument and the buffer pointer as the third, as on System V before
340 release 3. */
341/* #undef SETVBUF_REVERSED */
342
343/* If using the C implementation of alloca, define if you know the
344 direction of stack growth for your system; otherwise it will be
345 automatically deduced at run-time.
346 STACK_DIRECTION > 0 => grows toward higher addresses
347 STACK_DIRECTION < 0 => grows toward lower addresses
348 STACK_DIRECTION = 0 => direction of growth unknown */
349/* #undef STACK_DIRECTION */
350
351/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
352/* #undef STAT_MACROS_BROKEN */
353
354/* Define to 1 if you have the ANSI C header files. */
355#define STDC_HEADERS 1
356
357/* Define if struct stat contains a nanoseconds field */
358/* #undef ST_MTIM_NSEC */
359
360/* Define to 1 on System V Release 4. */
361/* #undef SVR4 */
362
363/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
364/* #define TIME_WITH_SYS_TIME 1 */
365
366/* Define to 1 for Encore UMAX. */
367/* #undef UMAX */
368
369/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
370 <sys/cpustats.h>. */
371/* #undef UMAX4_3 */
372
373/* Version number of package */
374#define VERSION "3.81"
375
376/* Define if using the dmalloc debugging malloc package */
377/* #undef WITH_DMALLOC */
378
379/* Define to 1 if on AIX 3.
380 System headers sometimes define this.
381 We just want to avoid a redefinition error message. */
382#ifndef _ALL_SOURCE
383/* # undef _ALL_SOURCE */
384#endif
385
386/* Number of bits in a file offset, on hosts where this is settable. */
387/* #undef _FILE_OFFSET_BITS */
388
389/* Define for large files, on AIX-style hosts. */
390/* #undef _LARGE_FILES */
391
392/* Define to 1 if on MINIX. */
393/* #undef _MINIX */
394
395/* Define to 2 if the system does not provide POSIX.1 features except with
396 this defined. */
397/* #undef _POSIX_1_SOURCE */
398
399/* Define to 1 if you need to in order for `stat' and other things to work. */
400#define _POSIX_SOURCE 1
401
402/* Define like PROTOTYPES; this can be used by system headers. */
403/*#define __PROTOTYPES 1*/
404
405/* Define to empty if `const' does not conform to ANSI C. */
406/* #undef const */
407
408/* Define to `int' if <sys/types.h> doesn't define. */
409#define gid_t int
410
411/* Define to `int' if <sys/types.h> does not define. */
412#define pid_t int
413
414/* Define to `int' if <sys/types.h> doesn't define. */
415#define uid_t int
416
417/* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */
418#define uintmax_t unsigned long
419
420/* Define as `fork' if `vfork' does not work. */
421/*#define vfork fork*/
422
423/* Define to `unsigned long' or `unsigned long long'
424 if <inttypes.h> doesn't define. */
425#define uintmax_t unsigned long
426
427/* Define if you support file names longer than 14 characters. */
428#define HAVE_LONG_FILE_NAMES 1
429
430/* Define if your struct stat has st_rdev. */
431#undef HAVE_ST_RDEV
432#define HAVE_ST_RDEV 1
433
434/* Define if you have the strftime function. */
435#undef HAVE_STRFTIME
436#define HAVE_STRFTIME 1
437
438/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
439/* #undef HAVE_SYS_WAIT_H */
440
441/* Define if your struct tm has tm_zone. */
442/* #undef HAVE_TM_ZONE */
443
444/* Define if you don't have tm_zone but do have the external array
445 tzname. */
446#undef HAVE_TZNAME
447#define HAVE_TZNAME 1
448
449/* Define if utime(file, NULL) sets file's timestamp to the present. */
450#undef HAVE_UTIME_NULL
451#define HAVE_UTIME_NULL 1
452
453/* Define to the installation directory for locales. */
454#define LOCALEDIR ""
455
456/*
457 * Refer to README.W32 for info on the following settings
458 */
459
460
461/*
462 * If you have a shell that does not grok 'sh -c quoted-command-line'
463 * correctly, you need this setting. Please see below for specific
464 * shell support.
465 */
466/*#define BATCH_MODE_ONLY_SHELL 1 */
467
468/*
469 * Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
470 * Do NOT define BATCH_MODE_ONLY_SHELL if you define HAVE_CYGWIN_SHELL
471 */
472/*#define HAVE_CYGWIN_SHELL 1 */
473
474/*
475 * Define if you have the MKS tool set or shell. Do NOT define
476 * BATCH_MODE_ONLY_SHELL if you define HAVE_MKS_SHELL
477 */
478/*#define HAVE_MKS_SHELL 1 */
479
480/*
481 * Enforce the mutual exclusivity restriction.
482 */
483#ifdef HAVE_MKS_SHELL
484#undef BATCH_MODE_ONLY_SHELL
485#endif
486
487#ifdef HAVE_CYGWIN_SHELL
488#undef BATCH_MODE_ONLY_SHELL
489#endif
490
491/* bird hacks */
492#include <sys/stat.h>
493extern int my_stat(const char *, struct stat *);
494#define stat(_path, _st) my_stat(_path, _st)
495
496/* cygwin sucks to much in one end or the other. */
497#define BATCH_MODE_ONLY_SHELL
498
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