Fixups for warnings on Windows (esp 64bit).
[make.git] / config.h-vms.template
blob68af4ec7bf8e92f3db327d59b7d8dd3755154777
1 /* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de>      -*-C-*-
3 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 This file is part of GNU Make.
7 GNU Make is free software; you can redistribute it and/or modify it under the
8 terms of the GNU General Public License as published by the Free Software
9 Foundation; either version 3 of the License, or (at your option) any later
10 version.
12 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License along with
17 this program.  If not, see <http://www.gnu.org/licenses/>.  */
19 /* config.h.  Generated automatically by configure.  */
20 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
22 /* Define to 1 if on AIX 3.
23    System headers sometimes define this.
24    We just want to avoid a redefinition error message.  */
25 #ifndef _ALL_SOURCE
26 /* #undef _ALL_SOURCE */
27 #endif
29 /* Define to 1 if NLS is requested.  */
30 /* #undef ENABLE_NLS */
32 /* Define as 1 if you have dcgettext.  */
33 /* #undef HAVE_DCGETTEXT */
35 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
36 /* #undef HAVE_GETTEXT */
38 /* Define to 1 if your locale.h file contains LC_MESSAGES.  */
39 /* #undef HAVE_LC_MESSAGES */
41 /* Define to the installation directory for locales.  */
42 #define LOCALEDIR ""
44 /* Define as 1 if you have the stpcpy function.  */
45 /* #undef HAVE_STPCPY */
47 /* Define to 1 if the closedir function returns void instead of int.  */
48 /* #undef CLOSEDIR_VOID */
50 /* Define to empty if the keyword does not work.  */
51 /* #undef const */
53 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
54    This function is required for alloca.c support on those systems.  */
55 /* #undef CRAY_STACKSEG_END */
57 /* Define for DGUX with <sys/dg_sys_info.h>.  */
58 /* #undef DGUX */
60 /* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.  */
61 /* #undef GETLOADAVG_PRIVILEGED */
63 /* Define to `unsigned long' or `unsigned long long'
64    if <inttypes.h> doesn't define.  */
65 #define uintmax_t unsigned long
67 /* Define to `int' if <sys/types.h> doesn't define.  */
68 /* #undef gid_t */
70 /* Define to 1 if you have alloca, as a function or macro.  */
71 #define HAVE_ALLOCA 1
73 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).  */
74 /* #undef HAVE_ALLOCA_H */
76 /* Define to 1 if you don't have vprintf but do have _doprnt.  */
77 /* #undef HAVE_DOPRNT */
79 /* Define to 1 if you have the fdopen function.  */
80 #define HAVE_FDOPEN 1
82 /* Define to 1 if your system has a working fnmatch function.  */
83 /* #undef HAVE_FNMATCH */
85 /* Define to 1 if your system has its own `getloadavg' function.  */
86 /* #undef HAVE_GETLOADAVG */
88 /* Define to 1 if you have the getmntent function.  */
89 /* #undef HAVE_GETMNTENT */
91 /* Define to 1 if the `long double' type works.  */
92 /* #undef HAVE_LONG_DOUBLE */
94 /* Define to 1 if you support file names longer than 14 characters.  */
95 #define HAVE_LONG_FILE_NAMES 1
97 /* Define to 1 if you have a working `mmap' system call.  */
98 /* #undef HAVE_MMAP */
100 /* Define to 1 if system calls automatically restart after interruption
101    by a signal.  */
102 /* #undef HAVE_RESTARTABLE_SYSCALLS */
104 /* Define to 1 if your struct stat has st_blksize.  */
105 /* #undef HAVE_ST_BLKSIZE */
107 /* Define to 1 if your struct stat has st_blocks.  */
108 /* #undef HAVE_ST_BLOCKS */
110 /* Define to 1 if you have the strcoll function and it is properly defined.  */
111 /* #undef HAVE_STRCOLL */
113 /* Define to 1 if your struct stat has st_rdev.  */
114 /* #undef HAVE_ST_RDEV */
116 /* Define to 1 if you have the strftime function.  */
117 /* #undef HAVE_STRFTIME */
119 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.  */
120 /* #undef HAVE_SYS_WAIT_H */
122 /* Define to 1 if your struct tm has tm_zone.  */
123 /* #undef HAVE_TM_ZONE */
125 /* Define to 1 if you don't have tm_zone but do have the external array
126    tzname.  */
127 /* #undef HAVE_TZNAME */
129 /* Define to 1 if you have <unistd.h>.  */
130 #ifdef __DECC
131 #define HAVE_UNISTD_H 1
132 #endif
134 /* Define to 1 if utime(file, NULL) sets file's timestamp to the present.  */
135 /* #undef HAVE_UTIME_NULL */
137 /* Define to 1 if you have <vfork.h>.  */
138 /* #undef HAVE_VFORK_H */
140 /* Define to 1 if you have the vprintf function.  */
141 #define HAVE_VPRINTF 1
143 /* Define to 1 if you have the wait3 system call.  */
144 /* #undef HAVE_WAIT3 */
146 /* Define to 1 if on MINIX.  */
147 /* #undef _MINIX */
149 /* Define to 1 if your struct nlist has an n_un member.  */
150 /* #undef NLIST_NAME_UNION */
152 /* Define to 1 if you have <nlist.h>.  */
153 /* #undef NLIST_STRUCT */
155 /* Define to 1 if your C compiler doesn't accept -c and -o together.  */
156 /* #undef NO_MINUS_C_MINUS_O */
158 /* Define to `int' if <sys/types.h> doesn't define.  */
159 /* I assume types.h is available for all 5.0 cc/cxx compilers */
160 #if __DECC_VER < 50090000
161 #define pid_t int
162 #endif
164 /* Define to 1 if the system does not provide POSIX.1 features except
165    with this defined.  */
166 /* #undef _POSIX_1_SOURCE */
168 /* Define to 1 if you need to in order for stat and other things to work.  */
169 /* #undef _POSIX_SOURCE */
171 /* Define as the return type of signal handlers (int or void).  */
172 #define RETSIGTYPE void
174 /* Define to 1 if the setvbuf function takes the buffering type as its second
175    argument and the buffer pointer as the third, as on System V
176    before release 3.  */
177 /* #undef SETVBUF_REVERSED */
179 /* If using the C implementation of alloca, define if you know the
180    direction of stack growth for your system; otherwise it will be
181    automatically deduced at run-time.
182         STACK_DIRECTION > 0 => grows toward higher addresses
183         STACK_DIRECTION < 0 => grows toward lower addresses
184         STACK_DIRECTION = 0 => direction of growth unknown
185  */
186 /* #undef STACK_DIRECTION */
188 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
189 /* #undef STAT_MACROS_BROKEN */
191 /* Define to 1 if you have the ANSI C header files.  */
192 /* #undef STDC_HEADERS */
194 /* Define on System V Release 4.  */
195 /* #undef SVR4 */
197 /* Define to 1 if `sys_siglist' is declared by <signal.h>.  */
198 /* #undef SYS_SIGLIST_DECLARED */
200 /* Define to `int' if <sys/types.h> doesn't define.  */
201 #if __DECC_VER < 50090000
202 #define uid_t int
203 #endif
205 /* Define for Encore UMAX.  */
206 /* #undef UMAX */
208 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
209    instead of <sys/cpustats.h>.  */
210 /* #undef UMAX4_3 */
212 /* Define vfork as fork if vfork does not work.  */
213 /* #undef vfork */
215 /* Name of this package (needed by automake) */
216 #define PACKAGE "%PACKAGE%"
218 /* Version of this package (needed by automake) */
219 #define VERSION "%VERSION%"
221 /* Define to the name of the SCCS `get' command.  */
222 /* #undef SCCS_GET */
224 /* Define this if the SCCS `get' command understands the `-G<file>' option.  */
225 /* #undef SCCS_GET_MINUS_G */
227 /* Define this to enable job server support in GNU make.  */
228 /* #undef MAKE_JOBSERVER */
230 /* Define to be the nanoseconds member of struct stat's st_mtim,
231    if it exists.  */
232 /* #undef ST_MTIM_NSEC */
234 /* Define to 1 if the C library defines the variable `sys_siglist'.  */
235 /* #undefine HAVE_SYS_SIGLIST */
237 /* Define to 1 if the C library defines the variable `_sys_siglist'.  */
238 /* #undef HAVE__SYS_SIGLIST */
240 /* Define to 1 if you have the `union wait' type in <sys/wait.h>.  */
241 /* #undef HAVE_UNION_WAIT */
243 /* Define to 1 if you have the dup2 function.  */
244 #define HAVE_DUP2 1
246 /* Define to 1 if you have the getcwd function.  */
247 #define HAVE_GETCWD 1
249 /* Define to 1 if you have the getgroups function.  */
250 /* #undef HAVE_GETGROUPS */
252 /* Define to 1 if you have the gethostbyname function.  */
253 /* #undef HAVE_GETHOSTBYNAME */
255 /* Define to 1 if you have the gethostname function.  */
256 /* #undef HAVE_GETHOSTNAME */
258 /* Define to 1 if you have the getloadavg function.  */
259 /* #undef HAVE_GETLOADAVG */
261 /* Define to 1 if you have the memmove function.  */
262 #define HAVE_MEMMOVE 1
264 /* Define to 1 if you have the mktemp function.  */
265 #define HAVE_MKTEMP 1
267 /* Define to 1 if you have the psignal function.  */
268 /* #undef HAVE_PSIGNAL */
270 /* Define to 1 if you have the pstat_getdynamic function.  */
271 /* #undef HAVE_PSTAT_GETDYNAMIC */
273 /* Define to 1 if you have the setegid function.  */
274 /* #undef HAVE_SETEGID */
276 /* Define to 1 if you have the seteuid function.  */
277 /* #undef HAVE_SETEUID */
279 /* Define to 1 if you have the setlinebuf function.  */
280 /* #undef HAVE_SETLINEBUF */
282 /* Define to 1 if you have the setregid function.  */
283 /* #undefine HAVE_SETREGID */
285 /* Define to 1 if you have the setreuid function.  */
286 /* #define HAVE_SETREUID */
288 /* Define to 1 if you have the sigsetmask function.  */
289 #define HAVE_SIGSETMASK 1
291 /* Define to 1 if you have the socket function.  */
292 /* #undef HAVE_SOCKET */
294 /* Define to 1 if you have the strcasecmp function.  */
295 #define HAVE_STRCASECMP 1
297 /* Define to 1 if you have the strcmpi function.  */
298 /* #undef HAVE_STRCMPI */
300 /* Define to 1 if you have the stricmp function.  */
301 /* #undef HAVE_STRICMP */
303 /* Define to 1 if you have the strerror function.  */
304 #define HAVE_STRERROR 1
306 /* Define to 1 if you have the strsignal function.  */
307 /* #undef HAVE_STRSIGNAL */
309 /* Define to 1 if you have the wait3 function.  */
310 /* #undef HAVE_WAIT3 */
312 /* Define to 1 if you have the waitpid function.  */
313 /* #undef HAVE_WAITPID */
315 /* Define to 1 if you have the <dirent.h> header file.  */
316 #define HAVE_DIRENT_H 1
318 /* Define to 1 if you have the <fcntl.h> header file.  */
319 #ifdef __DECC
320 #define HAVE_FCNTL_H 1
321 #endif
323 /* Define to 1 if you have the <limits.h> header file.  */
324 #define HAVE_LIMITS_H 1
326 /* Define to 1 if you have the <mach/mach.h> header file.  */
327 /* #undef HAVE_MACH_MACH_H */
329 /* Define to 1 if you have the <memory.h> header file.  */
330 /* #undef HAVE_MEMORY_H */
332 /* Define to 1 if you have the <ndir.h> header file.  */
333 /* #undef HAVE_NDIR_H */
335 /* Define to 1 if your compiler conforms to the ANSI C standard. */
336 #define HAVE_ANSI_COMPILER 1
338 /* Define to 1 if you have the <stdarg.h> header file. */
339 #define HAVE_STDARG_H 1
341 /* Define to 1 if you have the <stdlib.h> header file.  */
342 #define HAVE_STDLIB_H 1
344 /* Define to 1 if you have the <string.h> header file.  */
345 #define HAVE_STRING_H 1
347 /* Define to 1 if you have the <sys/dir.h> header file.  */
348 /* #undef HAVE_SYS_DIR_H */
350 /* Define to 1 if you have the <sys/ndir.h> header file.  */
351 /* #undef HAVE_SYS_NDIR_H */
353 /* Define to 1 if you have the <sys/param.h> header file.  */
354 /* #undef HAVE_SYS_PARAM_H */
356 /* Define to 1 if you have the <sys/timeb.h> header file.  */
357 #ifndef __GNUC__
358 #define HAVE_SYS_TIMEB_H 1
359 #endif
361 /* Define to 1 if you have the <sys/wait.h> header file.  */
362 /* #undef HAVE_SYS_WAIT_H */
364 /* Define to 1 if you have the dgc library (-ldgc).  */
365 /* #undef HAVE_LIBDGC */
367 /* Define to 1 if you have the kstat library (-lkstat).  */
368 /* #undef HAVE_LIBKSTAT *
370 /* Define to 1 if you have the sun library (-lsun).  */
371 /* #undef HAVE_LIBSUN */
373 /* Use high resolution file timestamps if nonzero. */
374 #define FILE_TIMESTAMP_HI_RES 0
376 /* Define for case insensitve filenames */
377 #define HAVE_CASE_INSENSITIVE_FS 1
379 /* VMS specific, define it if you want to use case sensitive targets */
380 /* #undef WANT_CASE_SENSITIVE_TARGETS */
382 /* VMS specific, V7.0 has opendir() and friends, so it's undefined */
383 /* If you want to use non-VMS code for opendir() etc. on V7.0 and greater
384    define the first or both macros AND change the compile command to get the
385    non-VMS versions linked: (prefix=(all,except=(opendir,...  */
386 /* #undef HAVE_VMSDIR_H */
387 /* #undef _DIRENT_HAVE_D_NAMLEN */
389 /* On older systems without 7.0 backport of CRTL the first one is defined */
390 #ifdef __CRTL_VER
391 # if __CRTL_VER < 70000000
392 #  define HAVE_VMSDIR_H 1
393 # endif
394 #else
395 # if __VMS_VER < 70000000
396 #  define HAVE_VMSDIR_H 1
397 # endif
398 #endif
400 #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H)
401 #undef HAVE_DIRENT_H
402 #endif
404 #define HAVE_STDLIB_H 1
405 #define INCLUDEDIR "sys$sysroot:[syslib]"
406 #define LIBDIR "sys$sysroot:[syslib]"
408 /* Don't use RTL functions of OpenVMS */
409 #ifdef __DECC
410 #include <stdio.h>
411 #include <unistd.h>
412 #define getopt   gnu_getopt
413 #define optarg   gnu_optarg
414 #define optopt   gnu_optopt
415 #define optind   gnu_optind
416 #define opterr   gnu_opterr
417 #define globfree gnu_globfree
418 #define glob     gnu_glob
419 #endif
421 /* Define if using alloca.c.  */
422 /* #undef C_ALLOCA */
423 /* maybe this should be placed into make.h */
424 #if     defined(__VAX) && defined(__DECC)
425 #define alloca(n)       __ALLOCA(n)
426 #endif
428 /* Build host information. */
429 #define MAKE_HOST "VMS"