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