Release GNU make 3.81.
[make.git] / config.h-vms.template
blob2d3d04d028afac74acd291d1768e09a6ba0be8b3
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 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 2, or (at your option) any later version.
11 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along with
16 GNU Make; see the file COPYING.  If not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
19 /* config.h.  Generated automatically by configure.  */
20 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
22 /* Define 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 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 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 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 if you have alloca, as a function or macro.  */
71 #define HAVE_ALLOCA 1
73 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
74 /* #undef HAVE_ALLOCA_H */
76 /* Define if you don't have vprintf but do have _doprnt.  */
77 /* #undef HAVE_DOPRNT */
79 /* Define if your system has a working fnmatch function.  */
80 /* #undef HAVE_FNMATCH */
82 /* Define if your system has its own `getloadavg' function.  */
83 /* #undef HAVE_GETLOADAVG */
85 /* Define if you have the getmntent function.  */
86 /* #undef HAVE_GETMNTENT */
88 /* Define if the `long double' type works.  */
89 /* #undef HAVE_LONG_DOUBLE */
91 /* Define if you support file names longer than 14 characters.  */
92 #define HAVE_LONG_FILE_NAMES 1
94 /* Define if you have a working `mmap' system call.  */
95 /* #undef HAVE_MMAP */
97 /* Define if system calls automatically restart after interruption
98    by a signal.  */
99 /* #undef HAVE_RESTARTABLE_SYSCALLS */
101 /* Define if your struct stat has st_blksize.  */
102 /* #undef HAVE_ST_BLKSIZE */
104 /* Define if your struct stat has st_blocks.  */
105 /* #undef HAVE_ST_BLOCKS */
107 /* Define if you have the strcoll function and it is properly defined.  */
108 /* #undef HAVE_STRCOLL */
110 /* Define if your struct stat has st_rdev.  */
111 /* #undef HAVE_ST_RDEV */
113 /* Define if you have the strftime function.  */
114 /* #undef HAVE_STRFTIME */
116 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
117 /* #undef HAVE_SYS_WAIT_H */
119 /* Define if your struct tm has tm_zone.  */
120 /* #undef HAVE_TM_ZONE */
122 /* Define if you don't have tm_zone but do have the external array
123    tzname.  */
124 /* #undef HAVE_TZNAME */
126 /* Define if you have <unistd.h>.  */
127 #ifdef __DECC
128 #define HAVE_UNISTD_H 1
129 #endif
131 /* Define if utime(file, NULL) sets file's timestamp to the present.  */
132 /* #undef HAVE_UTIME_NULL */
134 /* Define if you have <vfork.h>.  */
135 /* #undef HAVE_VFORK_H */
137 /* Define if you have the vprintf function.  */
138 #define HAVE_VPRINTF 1
140 /* Define if you have the wait3 system call.  */
141 /* #undef HAVE_WAIT3 */
143 /* Define if on MINIX.  */
144 /* #undef _MINIX */
146 /* Define if your struct nlist has an n_un member.  */
147 /* #undef NLIST_NAME_UNION */
149 /* Define if you have <nlist.h>.  */
150 /* #undef NLIST_STRUCT */
152 /* Define if your C compiler doesn't accept -c and -o together.  */
153 /* #undef NO_MINUS_C_MINUS_O */
155 /* Define to `int' if <sys/types.h> doesn't define.  */
156 /* I assume types.h is available for all 5.0 cc/cxx compilers */
157 #if __DECC_VER < 50090000
158 #define pid_t int
159 #endif
161 /* Define if the system does not provide POSIX.1 features except
162    with this defined.  */
163 /* #undef _POSIX_1_SOURCE */
165 /* Define if you need to in order for stat and other things to work.  */
166 /* #undef _POSIX_SOURCE */
168 /* Define as the return type of signal handlers (int or void).  */
169 #define RETSIGTYPE void
171 /* Define if the setvbuf function takes the buffering type as its second
172    argument and the buffer pointer as the third, as on System V
173    before release 3.  */
174 /* #undef SETVBUF_REVERSED */
176 /* If using the C implementation of alloca, define if you know the
177    direction of stack growth for your system; otherwise it will be
178    automatically deduced at run-time.
179         STACK_DIRECTION > 0 => grows toward higher addresses
180         STACK_DIRECTION < 0 => grows toward lower addresses
181         STACK_DIRECTION = 0 => direction of growth unknown
182  */
183 /* #undef STACK_DIRECTION */
185 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
186 /* #undef STAT_MACROS_BROKEN */
188 /* Define if you have the ANSI C header files.  */
189 /* #undef STDC_HEADERS */
191 /* Define on System V Release 4.  */
192 /* #undef SVR4 */
194 /* Define if `sys_siglist' is declared by <signal.h>.  */
195 /* #undef SYS_SIGLIST_DECLARED */
197 /* Define to `int' if <sys/types.h> doesn't define.  */
198 #if __DECC_VER < 50090000
199 #define uid_t int
200 #endif
202 /* Define for Encore UMAX.  */
203 /* #undef UMAX */
205 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
206    instead of <sys/cpustats.h>.  */
207 /* #undef UMAX4_3 */
209 /* Define vfork as fork if vfork does not work.  */
210 /* #undef vfork */
212 /* Name of this package (needed by automake) */
213 #define PACKAGE "%PACKAGE%"
215 /* Version of this package (needed by automake) */
216 #define VERSION "%VERSION%"
218 /* Define to the name of the SCCS `get' command.  */
219 /* #undef SCCS_GET */
221 /* Define this if the SCCS `get' command understands the `-G<file>' option.  */
222 /* #undef SCCS_GET_MINUS_G */
224 /* Define this to enable job server support in GNU make.  */
225 /* #undef MAKE_JOBSERVER */
227 /* Define to be the nanoseconds member of struct stat's st_mtim,
228    if it exists.  */
229 /* #undef ST_MTIM_NSEC */
231 /* Define this if the C library defines the variable `sys_siglist'.  */
232 /* #undefine HAVE_SYS_SIGLIST */
234 /* Define this if the C library defines the variable `_sys_siglist'.  */
235 /* #undef HAVE__SYS_SIGLIST */
237 /* Define this if you have the `union wait' type in <sys/wait.h>.  */
238 /* #undef HAVE_UNION_WAIT */
240 /* Define if you have the dup2 function.  */
241 #define HAVE_DUP2 1
243 /* Define if you have the getcwd function.  */
244 #define HAVE_GETCWD 1
246 /* Define if you have the getgroups function.  */
247 /* #undef HAVE_GETGROUPS */
249 /* Define if you have the gethostbyname function.  */
250 /* #undef HAVE_GETHOSTBYNAME */
252 /* Define if you have the gethostname function.  */
253 /* #undef HAVE_GETHOSTNAME */
255 /* Define if you have the getloadavg function.  */
256 /* #undef HAVE_GETLOADAVG */
258 /* Define if you have the memmove function.  */
259 #define HAVE_MEMMOVE 1
261 /* Define if you have the mktemp function.  */
262 #define HAVE_MKTEMP 1
264 /* Define if you have the psignal function.  */
265 /* #undef HAVE_PSIGNAL */
267 /* Define if you have the pstat_getdynamic function.  */
268 /* #undef HAVE_PSTAT_GETDYNAMIC */
270 /* Define if you have the setegid function.  */
271 /* #undef HAVE_SETEGID */
273 /* Define if you have the seteuid function.  */
274 /* #undef HAVE_SETEUID */
276 /* Define if you have the setlinebuf function.  */
277 /* #undef HAVE_SETLINEBUF */
279 /* Define if you have the setregid function.  */
280 /* #undefine HAVE_SETREGID */
282 /* Define if you have the setreuid function.  */
283 /* #define HAVE_SETREUID */
285 /* Define if you have the sigsetmask function.  */
286 #define HAVE_SIGSETMASK 1
288 /* Define if you have the socket function.  */
289 /* #undef HAVE_SOCKET */
291 /* Define if you have the strcasecmp function.  */
292 /* #undef HAVE_STRCASECMP */
294 /* Define if you have the strerror function.  */
295 #define HAVE_STRERROR 1
297 /* Define if you have the strsignal function.  */
298 /* #undef HAVE_STRSIGNAL */
300 /* Define if you have the wait3 function.  */
301 /* #undef HAVE_WAIT3 */
303 /* Define if you have the waitpid function.  */
304 /* #undef HAVE_WAITPID */
306 /* Define if you have the <dirent.h> header file.  */
307 #define HAVE_DIRENT_H 1
309 /* Define if you have the <fcntl.h> header file.  */
310 #ifdef __DECC
311 #define HAVE_FCNTL_H 1
312 #endif
314 /* Define if you have the <limits.h> header file.  */
315 #define HAVE_LIMITS_H 1
317 /* Define if you have the <mach/mach.h> header file.  */
318 /* #undef HAVE_MACH_MACH_H */
320 /* Define if you have the <memory.h> header file.  */
321 /* #undef HAVE_MEMORY_H */
323 /* Define if you have the <ndir.h> header file.  */
324 /* #undef HAVE_NDIR_H */
326 /* Define if your compiler conforms to the ANSI C standard. */
327 #define HAVE_ANSI_COMPILER 1
329 /* Define to 1 if you have the <stdarg.h> header file. */
330 #define HAVE_STDARG_H 1
332 /* Define if you have the <stdlib.h> header file.  */
333 #define HAVE_STDLIB_H 1
335 /* Define if you have the <string.h> header file.  */
336 #define HAVE_STRING_H 1
338 /* Define if you have the <sys/dir.h> header file.  */
339 /* #undef HAVE_SYS_DIR_H */
341 /* Define if you have the <sys/ndir.h> header file.  */
342 /* #undef HAVE_SYS_NDIR_H */
344 /* Define if you have the <sys/param.h> header file.  */
345 /* #undef HAVE_SYS_PARAM_H */
347 /* Define if you have the <sys/timeb.h> header file.  */
348 #ifndef __GNUC__
349 #define HAVE_SYS_TIMEB_H 1
350 #endif
352 /* Define if you have the <sys/wait.h> header file.  */
353 /* #undef HAVE_SYS_WAIT_H */
355 /* Define if you have the dgc library (-ldgc).  */
356 /* #undef HAVE_LIBDGC */
358 /* Define if you have the kstat library (-lkstat).  */
359 /* #undef HAVE_LIBKSTAT *
361 /* Define if you have the sun library (-lsun).  */
362 /* #undef HAVE_LIBSUN */
364 /* Use high resolution file timestamps if nonzero. */
365 #define FILE_TIMESTAMP_HI_RES 0
367 /* Define for case insensitve filenames */
368 #define HAVE_CASE_INSENSITIVE_FS 1
370 /* VMS specific, define it if you want to use case sensitive targets */
371 /* #undef WANT_CASE_SENSITIVE_TARGETS */
373 /* VMS specific, V7.0 has opendir() and friends, so it's undefined */
374 /* If you want to use non-VMS code for opendir() etc. on V7.0 and greater
375    define the first or both macros AND change the compile command to get the
376    non-VMS versions linked: (prefix=(all,except=(opendir,...  */
377 /* #undef HAVE_VMSDIR_H */
378 /* #undef _DIRENT_HAVE_D_NAMLEN */
380 /* On older systems without 7.0 backport of CRTL the first one is defined */
381 #ifdef __CRTL_VER
382 # if __CRTL_VER < 70000000
383 #  define HAVE_VMSDIR_H 1
384 # endif
385 #else
386 # if __VMS_VER < 70000000
387 #  define HAVE_VMSDIR_H 1
388 # endif
389 #endif
391 #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H)
392 #undef HAVE_DIRENT_H
393 #endif
395 #define HAVE_STDLIB_H 1
396 #define INCLUDEDIR "sys$sysroot:[syslib]"
397 #define LIBDIR "sys$sysroot:[syslib]"
399 /* Don't use RTL functions of OpenVMS */
400 #ifdef __DECC
401 #include <stdio.h>
402 #include <unistd.h>
403 #define getopt   gnu_getopt
404 #define optarg   gnu_optarg
405 #define optopt   gnu_optopt
406 #define optind   gnu_optind
407 #define opterr   gnu_opterr
408 #define globfree gnu_globfree
409 #define glob     gnu_glob
410 #endif
412 #if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
413 #undef  PARAMS
414 #define PARAMS(protos)  protos
415 #else /* Not C++ or ANSI C.  */
416 #undef  PARAMS
417 #define PARAMS(protos)  ()
418 #endif /* C++ or ANSI C.  */
420 /* Define if using alloca.c.  */
421 /* #undef C_ALLOCA */
422 /* maybe this should be placed into make.h */
423 #if     defined(__VAX) && defined(__DECC)
424 #define alloca(n)       __ALLOCA(n)
425 #endif
427 /* Build host information. */
428 #define MAKE_HOST "VMS"