Imported Upstream version 4.4
[platform/upstream/make.git] / src / config.h-vms
1 /* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de>      -*-C-*-
2
3 Copyright (C) 1996-2022 Free Software Foundation, Inc.
4 This file is part of GNU Make.
5
6 GNU Make is free software; you can redistribute it and/or modify it under the
7 terms of the GNU General Public License as published by the Free Software
8 Foundation; either version 3 of the License, or (at your option) any later
9 version.
10
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.
14
15 You should have received a copy of the GNU General Public License along with
16 this program.  If not, see <https://www.gnu.org/licenses/>.  */
17
18 #include "mkconfig.h"
19
20 #define MK_VMS 1
21
22 /* Pull in types.h here to get __CRTL_VER defined for old versions of the
23    compiler which don't define it. */
24 #ifdef __DECC
25 # include <types.h>
26 #endif
27
28 /* Define to 1 if on AIX 3.
29    System headers sometimes define this.
30    We just want to avoid a redefinition error message.  */
31 #ifndef _ALL_SOURCE
32 /* #undef _ALL_SOURCE */
33 #endif
34
35 /* Define to 1 if NLS is requested.  */
36 /* #undef ENABLE_NLS */
37
38 /* Define as 1 if you have dcgettext.  */
39 /* #undef HAVE_DCGETTEXT */
40
41 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
42 /* #undef HAVE_GETTEXT */
43
44 /* Embed GNU Guile support */
45 /* #undef HAVE_GUILE */
46
47 /* Define to 1 if your locale.h file contains LC_MESSAGES.  */
48 /* #undef HAVE_LC_MESSAGES */
49
50 /* Define to the installation directory for locales.  */
51 #define LOCALEDIR ""
52
53 /* Define as 1 if you have the stpcpy function.  */
54 /* #undef HAVE_STPCPY */
55
56 /* Define to 1 if the closedir function returns void instead of int.  */
57 /* #undef CLOSEDIR_VOID */
58
59 /* Define to empty if the keyword does not work.  */
60 /* #undef const */
61
62 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
63    This function is required for alloca.c support on those systems.  */
64 /* #undef CRAY_STACKSEG_END */
65
66 /* Define for DGUX with <sys/dg_sys_info.h>.  */
67 /* #undef DGUX */
68
69 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
70    not define. */
71 #define intmax_t unsigned long
72
73 /* Define to 'unsigned long' or 'unsigned long long'
74    if <inttypes.h> doesn't define.  */
75 #define uintmax_t unsigned long
76
77 /* Define to 'int' if <sys/types.h> doesn't define.  */
78 /* #undef gid_t */
79
80 /* Define to 1 if you have alloca, as a function or macro.  */
81 #define HAVE_ALLOCA 1
82
83 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).  */
84 /* #undef HAVE_ALLOCA_H */
85
86 /* Define to 1 if you have the declaration of 'getloadavg'. */
87 /* #undef HAVE_DECL_GETLOADAVG */
88
89 /* Define to 1 if you have the fdopen function.  */
90 #define HAVE_FDOPEN 1
91
92 /* Define to 1 if your system has a working fnmatch function.  */
93 /* #undef HAVE_FNMATCH */
94
95 /* Define to 1 if you have the getmntent function.  */
96 /* #undef HAVE_GETMNTENT */
97
98 /* Define to 1 if the 'long double' type works.  */
99 /* #undef HAVE_LONG_DOUBLE */
100
101 /* Define to 1 if you support file names longer than 14 characters.  */
102 #define HAVE_LONG_FILE_NAMES 1
103
104 /* Define to 1 if you have a working 'mmap' system call.  */
105 /* #undef HAVE_MMAP */
106
107 /* Define to 1 if system calls automatically restart after interruption
108    by a signal.  */
109 /* #undef HAVE_RESTARTABLE_SYSCALLS */
110
111 /* Define to 1 if your struct stat has st_blksize.  */
112 /* #undef HAVE_ST_BLKSIZE */
113
114 /* Define to 1 if your struct stat has st_blocks.  */
115 /* #undef HAVE_ST_BLOCKS */
116
117 /* Define to 1 if you have the strcoll function and it is properly defined.  */
118 /* #undef HAVE_STRCOLL */
119
120 /* Define to 1 if you have the strncasecmp' function. */
121 #if __CRTL_VER >= 70000000
122 #define HAVE_STRNCASECMP 1
123 #endif
124
125 /* Define to 1 if your struct stat has st_rdev.  */
126 /* #undef HAVE_ST_RDEV */
127
128 /* Define to 1 if you have the strftime function.  */
129 /* #undef HAVE_STRFTIME */
130
131 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.  */
132 /* #undef HAVE_SYS_WAIT_H */
133
134 /* Define to 1 if your struct tm has tm_zone.  */
135 /* #undef HAVE_TM_ZONE */
136
137 /* Define to 1 if you don't have tm_zone but do have the external array
138    tzname.  */
139 /* #undef HAVE_TZNAME */
140
141 /* Define to 1 if you have <unistd.h>.  */
142 #ifdef __DECC
143 #define HAVE_UNISTD_H 1
144 #endif
145
146 /* Define to 1 if utime(file, NULL) sets file's timestamp to the present.  */
147 /* #undef HAVE_UTIME_NULL */
148
149 /* Define to 1 if you have the wait3 system call.  */
150 /* #undef HAVE_WAIT3 */
151
152 /* Define to 1 if on MINIX.  */
153 /* #undef _MINIX */
154
155 /* Define to 1 if your struct nlist has an n_un member.  */
156 /* #undef NLIST_NAME_UNION */
157
158 /* Define to 1 if you have <nlist.h>.  */
159 /* #undef NLIST_STRUCT */
160
161 /* Define to 1 if your C compiler doesn't accept -c and -o together.  */
162 /* #undef NO_MINUS_C_MINUS_O */
163
164 /* Define to 'int' if <sys/types.h> doesn't define.  */
165 /* I assume types.h is available for all 5.0 cc/cxx compilers */
166 #if __DECC_VER < 50090000
167 #define pid_t int
168 #endif
169
170 /* Define to 1 if the system does not provide POSIX.1 features except
171    with this defined.  */
172 /* #undef _POSIX_1_SOURCE */
173
174 /* Define to 1 if you need to in order for stat and other things to work.  */
175 /* #undef _POSIX_SOURCE */
176
177 /* If using the C implementation of alloca, define if you know the
178    direction of stack growth for your system; otherwise it will be
179    automatically deduced at run-time.
180         STACK_DIRECTION > 0 => grows toward higher addresses
181         STACK_DIRECTION < 0 => grows toward lower addresses
182         STACK_DIRECTION = 0 => direction of growth unknown
183  */
184 /* #undef STACK_DIRECTION */
185
186 /* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly.  */
187 /* #undef STAT_MACROS_BROKEN */
188
189 /* Define to 1 if you have the ANSI C header files.  */
190 /* #undef STDC_HEADERS */
191
192 /* Define on System V Release 4.  */
193 /* #undef SVR4 */
194
195 /* Define to 1 if 'sys_siglist' is declared by <signal.h>.  */
196 /* #undef SYS_SIGLIST_DECLARED */
197
198 /* Define to 'int' if <sys/types.h> doesn't define.  */
199 #if __DECC_VER < 50090000
200 #define uid_t int
201 #endif
202
203 /* Define for Encore UMAX.  */
204 /* #undef UMAX */
205
206 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
207    instead of <sys/cpustats.h>.  */
208 /* #undef UMAX4_3 */
209
210 /* Define to the name of the SCCS 'get' command.  */
211 /* #undef SCCS_GET */
212
213 /* Define this if the SCCS 'get' command understands the '-G<file>' option.  */
214 /* #undef SCCS_GET_MINUS_G */
215
216 /* Define this to enable job server support in GNU make.  */
217 /* #undef MAKE_JOBSERVER */
218
219 /* Define to be the nanoseconds member of struct stat's st_mtim,
220    if it exists.  */
221 /* #undef ST_MTIM_NSEC */
222
223 /* Define to 1 if the C library defines the variable 'sys_siglist'.  */
224 /* #undefine HAVE_SYS_SIGLIST */
225
226 /* Define to 1 if the C library defines the variable '_sys_siglist'.  */
227 /* #undef HAVE__SYS_SIGLIST */
228
229 /* Define to 1 if you have the 'union wait' type in <sys/wait.h>.  */
230 /* #undef HAVE_UNION_WAIT */
231
232 /* Define to 1 if you have the dup2 function.  */
233 #define HAVE_DUP2 1
234
235 /* Define to 1 if you have the getcwd function.  */
236 #define HAVE_GETCWD 1
237
238 /* Define to 1 if you have the getgroups function.  */
239 /* #undef HAVE_GETGROUPS */
240
241 /* Define to 1 if you have the gethostbyname function.  */
242 /* #undef HAVE_GETHOSTBYNAME */
243
244 /* Define to 1 if you have the gethostname function.  */
245 /* #undef HAVE_GETHOSTNAME */
246
247 /* Define to 1 if you have the memmove function.  */
248 #define HAVE_MEMMOVE 1
249
250 /* Define to 1 if you have the 'mkfifo' function.  */
251 /* #undef HAVE_MKFIFO */
252
253 /* Define to 1 if you have the mktemp function.  */
254 #define HAVE_MKTEMP 1
255
256 /* Define to 1 if you have the psignal function.  */
257 /* #undef HAVE_PSIGNAL */
258
259 /* Define to 1 if you have the pstat_getdynamic function.  */
260 /* #undef HAVE_PSTAT_GETDYNAMIC */
261
262 /* Define to 1 if you have the setegid function.  */
263 /* #undef HAVE_SETEGID */
264
265 /* Define to 1 if you have the seteuid function.  */
266 /* #undef HAVE_SETEUID */
267
268 /* Define to 1 if you have the setlinebuf function.  */
269 /* #undef HAVE_SETLINEBUF */
270
271 /* Define to 1 if you have the setregid function.  */
272 /* #undefine HAVE_SETREGID */
273
274 /* Define to 1 if you have the setreuid function.  */
275 /* #define HAVE_SETREUID */
276
277 /* Define to 1 if you have the sigsetmask function.  */
278 #define HAVE_SIGSETMASK 1
279
280 /* Define to 1 if you have the socket function.  */
281 /* #undef HAVE_SOCKET */
282
283 /* Define to 1 if you have the strcasecmp function.  */
284 #define HAVE_STRCASECMP 1
285
286 /* Define to 1 if you have the strcmpi function.  */
287 /* #undef HAVE_STRCMPI */
288
289 /* Define to 1 if you have the stricmp function.  */
290 /* #undef HAVE_STRICMP */
291
292 /* Define to 1 if you have the strsignal function.  */
293 /* #undef HAVE_STRSIGNAL */
294
295 /* Define to 1 if you have the `strtoll' function. */
296 #define HAVE_STRTOLL 1
297
298 /* Define to 1 if you have the wait3 function.  */
299 /* #undef HAVE_WAIT3 */
300
301 /* Define to 1 if you have the waitpid function.  */
302 /* #undef HAVE_WAITPID */
303
304 /* Define to 1 if you have the <dirent.h> header file.  */
305 #define HAVE_DIRENT_H 1
306
307 /* Define to 1 if you have the <fcntl.h> header file.  */
308 #ifdef __DECC
309 #define HAVE_FCNTL_H 1
310 #endif
311
312 /* Define to 1 if you have the <limits.h> header file.  */
313 #define HAVE_LIMITS_H 1
314
315 /* Define to 1 if you have the <mach/mach.h> header file.  */
316 /* #undef HAVE_MACH_MACH_H */
317
318 /* Define to 1 if you have the <memory.h> header file.  */
319 /* #undef HAVE_MEMORY_H */
320
321 /* Define to 1 if you have the `mempcpy' function.  */
322 /* #undef HAVE_MEMPCPY */
323
324 /* Define to 1 if you have the <ndir.h> header file.  */
325 /* #undef HAVE_NDIR_H */
326
327 /* Define to 1 if you have the <stdlib.h> header file.  */
328 #define HAVE_STDLIB_H 1
329
330 /* Define to 1 if you have the <string.h> header file.  */
331 #define HAVE_STRING_H 1
332
333 /* Define to 1 if you have the <sys/dir.h> header file.  */
334 /* #undef HAVE_SYS_DIR_H */
335
336 /* Define to 1 if you have the <sys/ndir.h> header file.  */
337 /* #undef HAVE_SYS_NDIR_H */
338
339 /* Define to 1 if you have the <sys/param.h> header file.  */
340 /* #undef HAVE_SYS_PARAM_H */
341
342 /* Define to 1 if you have the <sys/timeb.h> header file.  */
343 #ifndef __GNUC__
344 #define HAVE_SYS_TIMEB_H 1
345 #endif
346
347 /* Define to 1 if you have the <sys/wait.h> header file.  */
348 /* #undef HAVE_SYS_WAIT_H */
349
350 /* Define to 1 if you have the dgc library (-ldgc).  */
351 /* #undef HAVE_LIBDGC */
352
353 /* Define to 1 if you have the kstat library (-lkstat).  */
354 /* #undef HAVE_LIBKSTAT *
355
356 /* Define to 1 if you have the sun library (-lsun).  */
357 /* #undef HAVE_LIBSUN */
358
359 /* Define to 1 if you have the `isatty' function. */
360 /* #undef HAVE_ISATTY */
361
362 /* Define to 1 if you have the `ttyname' function. */
363 /* #undef HAVE_TTYNAME */
364
365 /* Use high resolution file timestamps if nonzero. */
366 #define FILE_TIMESTAMP_HI_RES 0
367
368 /* Define for case insensitve filenames */
369 #define HAVE_CASE_INSENSITIVE_FS 1
370
371 /* VMS specific, define it if you want to use case sensitive targets */
372 /* #undef WANT_CASE_SENSITIVE_TARGETS */
373
374 /* VMS specific, V7.0 has opendir() and friends, so it's undefined */
375 /* If you want to use non-VMS code for opendir() etc. on V7.0 and greater
376    define the first or both macros AND change the compile command to get the
377    non-VMS versions linked: (prefix=(all,except=(opendir,...  */
378 /* #undef HAVE_VMSDIR_H */
379 /* #undef _DIRENT_HAVE_D_NAMLEN */
380
381 /* On older systems without 7.0 backport of CRTL use non-VMS code for opendir() etc. */
382 #if __CRTL_VER < 70000000
383 # define HAVE_VMSDIR_H 1
384 #endif
385
386 #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H)
387 #undef HAVE_DIRENT_H
388 #endif
389
390 #define HAVE_STDLIB_H 1
391 #define INCLUDEDIR "sys$sysroot:[syslib]"
392 #define LIBDIR "sys$sysroot:[syslib]"
393
394 /* Don't use RTL functions of OpenVMS */
395 #ifdef __DECC
396 #include <stdio.h>
397 #include <unistd.h>
398 #define getopt   gnu_getopt
399 #define optarg   gnu_optarg
400 #define optopt   gnu_optopt
401 #define optind   gnu_optind
402 #define opterr   gnu_opterr
403 #define globfree gnu_globfree
404 #define glob     gnu_glob
405 #endif
406
407 /* Define if using alloca.c.  */
408 /* #undef C_ALLOCA */
409 /* maybe this should be placed into makeint.h */
410 #if     defined(__VAX) && defined(__DECC)
411 #define alloca(n)       __ALLOCA(n)
412 #endif
413
414 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
415    significant byte first (like Motorola and SPARC, unlike Intel). */
416 /* #  undef WORDS_BIGENDIAN */
417
418 /* Output sync sypport */
419 #define NO_OUTPUT_SYNC
420
421 /* Define to 1 to write even short single-line actions into a VMS/DCL command
422    file; this also enables exporting make environment variables into the
423    (sub-)process, which executes the action.
424    The usual make rules apply whether a shell variable - here a DCL symbol or
425    VMS logical [see CRTL getenv()] - is added to the make environment and
426    is exported. */
427 #define USE_DCL_COM_FILE 1
428
429 /* Build host information. */
430 #define MAKE_HOST "VMS"