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