1 /* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de> -*-C-*-
3 Copyright (C) 1996-2022 Free Software Foundation, Inc.
4 This file is part of GNU Make.
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
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 this program. If not, see <https://www.gnu.org/licenses/>. */
22 /* Pull in types.h here to get __CRTL_VER defined for old versions of the
23 compiler which don't define it. */
28 /* Define to 1 if on AIX 3.
29 System headers sometimes define this.
30 We just want to avoid a redefinition error message. */
32 /* #undef _ALL_SOURCE */
35 /* Define to 1 if NLS is requested. */
36 /* #undef ENABLE_NLS */
38 /* Define as 1 if you have dcgettext. */
39 /* #undef HAVE_DCGETTEXT */
41 /* Define as 1 if you have gettext and don't want to use GNU gettext. */
42 /* #undef HAVE_GETTEXT */
44 /* Embed GNU Guile support */
45 /* #undef HAVE_GUILE */
47 /* Define to 1 if your locale.h file contains LC_MESSAGES. */
48 /* #undef HAVE_LC_MESSAGES */
50 /* Define to the installation directory for locales. */
53 /* Define as 1 if you have the stpcpy function. */
54 /* #undef HAVE_STPCPY */
56 /* Define to 1 if the closedir function returns void instead of int. */
57 /* #undef CLOSEDIR_VOID */
59 /* Define to empty if the keyword does not work. */
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 */
66 /* Define for DGUX with <sys/dg_sys_info.h>. */
69 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
71 #define intmax_t unsigned long
73 /* Define to 'unsigned long' or 'unsigned long long'
74 if <inttypes.h> doesn't define. */
75 #define uintmax_t unsigned long
77 /* Define to 'int' if <sys/types.h> doesn't define. */
80 /* Define to 1 if you have alloca, as a function or macro. */
83 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */
84 /* #undef HAVE_ALLOCA_H */
86 /* Define to 1 if you have the declaration of 'getloadavg'. */
87 /* #undef HAVE_DECL_GETLOADAVG */
89 /* Define to 1 if you have the fdopen function. */
92 /* Define to 1 if your system has a working fnmatch function. */
93 /* #undef HAVE_FNMATCH */
95 /* Define to 1 if you have the getmntent function. */
96 /* #undef HAVE_GETMNTENT */
98 /* Define to 1 if the 'long double' type works. */
99 /* #undef HAVE_LONG_DOUBLE */
101 /* Define to 1 if you support file names longer than 14 characters. */
102 #define HAVE_LONG_FILE_NAMES 1
104 /* Define to 1 if you have a working 'mmap' system call. */
105 /* #undef HAVE_MMAP */
107 /* Define to 1 if system calls automatically restart after interruption
109 /* #undef HAVE_RESTARTABLE_SYSCALLS */
111 /* Define to 1 if your struct stat has st_blksize. */
112 /* #undef HAVE_ST_BLKSIZE */
114 /* Define to 1 if your struct stat has st_blocks. */
115 /* #undef HAVE_ST_BLOCKS */
117 /* Define to 1 if you have the strcoll function and it is properly defined. */
118 /* #undef HAVE_STRCOLL */
120 /* Define to 1 if you have the strncasecmp' function. */
121 #if __CRTL_VER >= 70000000
122 #define HAVE_STRNCASECMP 1
125 /* Define to 1 if your struct stat has st_rdev. */
126 /* #undef HAVE_ST_RDEV */
128 /* Define to 1 if you have the strftime function. */
129 /* #undef HAVE_STRFTIME */
131 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
132 /* #undef HAVE_SYS_WAIT_H */
134 /* Define to 1 if your struct tm has tm_zone. */
135 /* #undef HAVE_TM_ZONE */
137 /* Define to 1 if you don't have tm_zone but do have the external array
139 /* #undef HAVE_TZNAME */
141 /* Define to 1 if you have <unistd.h>. */
143 #define HAVE_UNISTD_H 1
146 /* Define to 1 if utime(file, NULL) sets file's timestamp to the present. */
147 /* #undef HAVE_UTIME_NULL */
149 /* Define to 1 if you have the wait3 system call. */
150 /* #undef HAVE_WAIT3 */
152 /* Define to 1 if on MINIX. */
155 /* Define to 1 if your struct nlist has an n_un member. */
156 /* #undef NLIST_NAME_UNION */
158 /* Define to 1 if you have <nlist.h>. */
159 /* #undef NLIST_STRUCT */
161 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
162 /* #undef NO_MINUS_C_MINUS_O */
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
170 /* Define to 1 if the system does not provide POSIX.1 features except
171 with this defined. */
172 /* #undef _POSIX_1_SOURCE */
174 /* Define to 1 if you need to in order for stat and other things to work. */
175 /* #undef _POSIX_SOURCE */
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
184 /* #undef STACK_DIRECTION */
186 /* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly. */
187 /* #undef STAT_MACROS_BROKEN */
189 /* Define to 1 if you have the ANSI C header files. */
190 /* #undef STDC_HEADERS */
192 /* Define on System V Release 4. */
195 /* Define to 1 if 'sys_siglist' is declared by <signal.h>. */
196 /* #undef SYS_SIGLIST_DECLARED */
198 /* Define to 'int' if <sys/types.h> doesn't define. */
199 #if __DECC_VER < 50090000
203 /* Define for Encore UMAX. */
206 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
207 instead of <sys/cpustats.h>. */
210 /* Define to the name of the SCCS 'get' command. */
211 /* #undef SCCS_GET */
213 /* Define this if the SCCS 'get' command understands the '-G<file>' option. */
214 /* #undef SCCS_GET_MINUS_G */
216 /* Define this to enable job server support in GNU make. */
217 /* #undef MAKE_JOBSERVER */
219 /* Define to be the nanoseconds member of struct stat's st_mtim,
221 /* #undef ST_MTIM_NSEC */
223 /* Define to 1 if the C library defines the variable 'sys_siglist'. */
224 /* #undefine HAVE_SYS_SIGLIST */
226 /* Define to 1 if the C library defines the variable '_sys_siglist'. */
227 /* #undef HAVE__SYS_SIGLIST */
229 /* Define to 1 if you have the 'union wait' type in <sys/wait.h>. */
230 /* #undef HAVE_UNION_WAIT */
232 /* Define to 1 if you have the dup2 function. */
235 /* Define to 1 if you have the getcwd function. */
236 #define HAVE_GETCWD 1
238 /* Define to 1 if you have the getgroups function. */
239 /* #undef HAVE_GETGROUPS */
241 /* Define to 1 if you have the gethostbyname function. */
242 /* #undef HAVE_GETHOSTBYNAME */
244 /* Define to 1 if you have the gethostname function. */
245 /* #undef HAVE_GETHOSTNAME */
247 /* Define to 1 if you have the memmove function. */
248 #define HAVE_MEMMOVE 1
250 /* Define to 1 if you have the 'mkfifo' function. */
251 /* #undef HAVE_MKFIFO */
253 /* Define to 1 if you have the mktemp function. */
254 #define HAVE_MKTEMP 1
256 /* Define to 1 if you have the psignal function. */
257 /* #undef HAVE_PSIGNAL */
259 /* Define to 1 if you have the pstat_getdynamic function. */
260 /* #undef HAVE_PSTAT_GETDYNAMIC */
262 /* Define to 1 if you have the setegid function. */
263 /* #undef HAVE_SETEGID */
265 /* Define to 1 if you have the seteuid function. */
266 /* #undef HAVE_SETEUID */
268 /* Define to 1 if you have the setlinebuf function. */
269 /* #undef HAVE_SETLINEBUF */
271 /* Define to 1 if you have the setregid function. */
272 /* #undefine HAVE_SETREGID */
274 /* Define to 1 if you have the setreuid function. */
275 /* #define HAVE_SETREUID */
277 /* Define to 1 if you have the sigsetmask function. */
278 #define HAVE_SIGSETMASK 1
280 /* Define to 1 if you have the socket function. */
281 /* #undef HAVE_SOCKET */
283 /* Define to 1 if you have the strcasecmp function. */
284 #define HAVE_STRCASECMP 1
286 /* Define to 1 if you have the strcmpi function. */
287 /* #undef HAVE_STRCMPI */
289 /* Define to 1 if you have the stricmp function. */
290 /* #undef HAVE_STRICMP */
292 /* Define to 1 if you have the strsignal function. */
293 /* #undef HAVE_STRSIGNAL */
295 /* Define to 1 if you have the `strtoll' function. */
296 #define HAVE_STRTOLL 1
298 /* Define to 1 if you have the wait3 function. */
299 /* #undef HAVE_WAIT3 */
301 /* Define to 1 if you have the waitpid function. */
302 /* #undef HAVE_WAITPID */
304 /* Define to 1 if you have the <dirent.h> header file. */
305 #define HAVE_DIRENT_H 1
307 /* Define to 1 if you have the <fcntl.h> header file. */
309 #define HAVE_FCNTL_H 1
312 /* Define to 1 if you have the <limits.h> header file. */
313 #define HAVE_LIMITS_H 1
315 /* Define to 1 if you have the <mach/mach.h> header file. */
316 /* #undef HAVE_MACH_MACH_H */
318 /* Define to 1 if you have the <memory.h> header file. */
319 /* #undef HAVE_MEMORY_H */
321 /* Define to 1 if you have the `mempcpy' function. */
322 /* #undef HAVE_MEMPCPY */
324 /* Define to 1 if you have the <ndir.h> header file. */
325 /* #undef HAVE_NDIR_H */
327 /* Define to 1 if you have the <stdlib.h> header file. */
328 #define HAVE_STDLIB_H 1
330 /* Define to 1 if you have the <string.h> header file. */
331 #define HAVE_STRING_H 1
333 /* Define to 1 if you have the <sys/dir.h> header file. */
334 /* #undef HAVE_SYS_DIR_H */
336 /* Define to 1 if you have the <sys/ndir.h> header file. */
337 /* #undef HAVE_SYS_NDIR_H */
339 /* Define to 1 if you have the <sys/param.h> header file. */
340 /* #undef HAVE_SYS_PARAM_H */
342 /* Define to 1 if you have the <sys/timeb.h> header file. */
344 #define HAVE_SYS_TIMEB_H 1
347 /* Define to 1 if you have the <sys/wait.h> header file. */
348 /* #undef HAVE_SYS_WAIT_H */
350 /* Define to 1 if you have the dgc library (-ldgc). */
351 /* #undef HAVE_LIBDGC */
353 /* Define to 1 if you have the kstat library (-lkstat). */
354 /* #undef HAVE_LIBKSTAT *
356 /* Define to 1 if you have the sun library (-lsun). */
357 /* #undef HAVE_LIBSUN */
359 /* Define to 1 if you have the `isatty' function. */
360 /* #undef HAVE_ISATTY */
362 /* Define to 1 if you have the `ttyname' function. */
363 /* #undef HAVE_TTYNAME */
365 /* Use high resolution file timestamps if nonzero. */
366 #define FILE_TIMESTAMP_HI_RES 0
368 /* Define for case insensitve filenames */
369 #define HAVE_CASE_INSENSITIVE_FS 1
371 /* VMS specific, define it if you want to use case sensitive targets */
372 /* #undef WANT_CASE_SENSITIVE_TARGETS */
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 */
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
386 #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H)
390 #define HAVE_STDLIB_H 1
391 #define INCLUDEDIR "sys$sysroot:[syslib]"
392 #define LIBDIR "sys$sysroot:[syslib]"
394 /* Don't use RTL functions of OpenVMS */
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
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)
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 */
418 /* Output sync sypport */
419 #define NO_OUTPUT_SYNC
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
427 #define USE_DCL_COM_FILE 1
429 /* Build host information. */
430 #define MAKE_HOST "VMS"