* Oops. Fix a problem running submakes like $(MAKE) $(MFLAGS).
[make.git] / config.h-vms.template
blob64882551c49b291eccc54047033e3e97449fefff
1 /* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@progis.de> */
2 /* config.h.  Generated automatically by configure.  */
3 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
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
12 /* Define if using alloca.c.  */
13 /* #undef C_ALLOCA */
15 /* Define if the closedir function returns void instead of int.  */
16 /* #undef CLOSEDIR_VOID */
18 /* Define to empty if the keyword does not work.  */
19 /* #undef const */
21 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
22    This function is required for alloca.c support on those systems.  */
23 /* #undef CRAY_STACKSEG_END */
25 /* Define for DGUX with <sys/dg_sys_info.h>.  */
26 /* #undef DGUX */
28 /* Define if the `getloadavg' function needs to be run setuid or setgid.  */
29 /* #undef GETLOADAVG_PRIVILEGED */
31 /* Define to `int' if <sys/types.h> doesn't define.  */
32 /* #undef gid_t */
34 /* Define if you have alloca, as a function or macro.  */
35 #define HAVE_ALLOCA 1
37 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
38 /* #undef HAVE_ALLOCA_H */
40 /* Define if you don't have vprintf but do have _doprnt.  */
41 /* #undef HAVE_DOPRNT */
43 /* Define if your system has a working fnmatch function.  */
44 /* #undef HAVE_FNMATCH */
46 /* Define if your system has its own `getloadavg' function.  */
47 /* #undef HAVE_GETLOADAVG */
49 /* Define if you have the getmntent function.  */
50 /* #undef HAVE_GETMNTENT */
52 /* Define if the `long double' type works.  */
53 /* #undef HAVE_LONG_DOUBLE */
55 /* Define if you support file names longer than 14 characters.  */
56 #define HAVE_LONG_FILE_NAMES 1
58 /* Define if you have a working `mmap' system call.  */
59 /* #undef HAVE_MMAP */
61 /* Define if system calls automatically restart after interruption
62    by a signal.  */
63 /* #undef HAVE_RESTARTABLE_SYSCALLS */
65 /* Define if your struct stat has st_blksize.  */
66 /* #undef HAVE_ST_BLKSIZE */
68 /* Define if your struct stat has st_blocks.  */
69 /* #undef HAVE_ST_BLOCKS */
71 /* Define if you have the strcoll function and it is properly defined.  */
72 /* #undef HAVE_STRCOLL */
74 /* Define if your struct stat has st_rdev.  */
75 /* #undef HAVE_ST_RDEV */
77 /* Define if you have the strftime function.  */
78 /* #undef HAVE_STRFTIME */
80 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
81 /* #undef HAVE_SYS_WAIT_H */
83 /* Define if your struct tm has tm_zone.  */
84 /* #undef HAVE_TM_ZONE */
86 /* Define if you don't have tm_zone but do have the external array
87    tzname.  */
88 /* #undef HAVE_TZNAME */
90 /* Define if you have <unistd.h>.  */
91 #ifdef __DECC
92 #define HAVE_UNISTD_H 1
93 #endif
95 /* Define if utime(file, NULL) sets file's timestamp to the present.  */
96 /* #undef HAVE_UTIME_NULL */
98 /* Define if you have <vfork.h>.  */
99 /* #undef HAVE_VFORK_H */
101 /* Define if you have the vprintf function.  */
102 #define HAVE_VPRINTF 1
104 /* Define if you have the wait3 system call.  */
105 /* #undef HAVE_WAIT3 */
107 /* Define if on MINIX.  */
108 /* #undef _MINIX */
110 /* Define if your struct nlist has an n_un member.  */
111 /* #undef NLIST_NAME_UNION */
113 /* Define if you have <nlist.h>.  */
114 /* #undef NLIST_STRUCT */
116 /* Define if your C compiler doesn't accept -c and -o together.  */
117 /* #undef NO_MINUS_C_MINUS_O */
119 /* Define to `int' if <sys/types.h> doesn't define.  */
120 /* #undef pid_t */
122 /* Define if the system does not provide POSIX.1 features except
123    with this defined.  */
124 /* #undef _POSIX_1_SOURCE */
126 #include <sys/types.h>
127 #include <ctype.h>
128 #include <signal.h>
130 /* Define if you need to in order for stat and other things to work.  */
131 #define _POSIX_C_SOURCE 1
133 /* Define as the return type of signal handlers (int or void).  */
134 #define RETSIGTYPE void
136 /* Define if the setvbuf function takes the buffering type as its second
137    argument and the buffer pointer as the third, as on System V
138    before release 3.  */
139 /* #undef SETVBUF_REVERSED */
141 /* If using the C implementation of alloca, define if you know the
142    direction of stack growth for your system; otherwise it will be
143    automatically deduced at run-time.
144         STACK_DIRECTION > 0 => grows toward higher addresses
145         STACK_DIRECTION < 0 => grows toward lower addresses
146         STACK_DIRECTION = 0 => direction of growth unknown
147  */
148 /* #undef STACK_DIRECTION */
150 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
151 /* #undef STAT_MACROS_BROKEN */
153 /* Define if you have the ANSI C header files.  */
154 /* #undef STDC_HEADERS */
156 /* Define on System V Release 4.  */
157 /* #undef SVR4 */
159 /* Define if `sys_siglist' is declared by <signal.h>.  */
160 /* #undef SYS_SIGLIST_DECLARED */
162 /* Define to `int' if <sys/types.h> doesn't define.  */
163 /* #undef uid_t */
165 /* Define for Encore UMAX.  */
166 /* #undef UMAX */
168 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
169    instead of <sys/cpustats.h>.  */
170 /* #undef UMAX4_3 */
172 /* Define vfork as fork if vfork does not work.  */
173 /* #undef vfork */
175 /* Name of this package (needed by automake) */
176 #define PACKAGE "%PACKAGE%"
178 /* Version of this package (needed by automake) */
179 #define VERSION "%VERSION%"
181 /* Define to the name of the SCCS `get' command.  */
182 /* #undef SCCS_GET */
184 /* Define this if the SCCS `get' command understands the `-G<file>' option.  */
185 /* #undef SCCS_GET_MINUS_G */
187 /* Define this to enable job server support in GNU make.  */
188 /* #undef MAKE_JOBSERVER */
190 /* Define to be the nanoseconds member of struct stat's st_mtim,
191    if it exists.  */
192 /* #undef ST_MTIM_NSEC */
194 /* Define this if the C library defines the variable `sys_siglist'.  */
195 /* #undefine HAVE_SYS_SIGLIST */
197 /* Define this if the C library defines the variable `_sys_siglist'.  */
198 /* #undef HAVE__SYS_SIGLIST */
200 /* Define this if you have the `union wait' type in <sys/wait.h>.  */
201 /* #undef HAVE_UNION_WAIT */
203 /* Define if you have the dup2 function.  */
204 #define HAVE_DUP2 1
206 /* Define if you have the getcwd function.  */
207 #define HAVE_GETCWD 1
209 /* Define if you have the getgroups function.  */
210 /* #undef HAVE_GETGROUPS */
212 /* Define if you have the gethostbyname function.  */
213 /* #undef HAVE_GETHOSTBYNAME */
215 /* Define if you have the gethostname function.  */
216 /* #undef HAVE_GETHOSTNAME */
218 /* Define if you have the getloadavg function.  */
219 /* #undef HAVE_GETLOADAVG */
221 /* Define if you have the memmove function.  */
222 #define HAVE_MEMMOVE 1
224 /* Define if you have the mktemp function.  */
225 #define HAVE_MKTEMP 1
227 /* Define if you have the psignal function.  */
228 /* #undef HAVE_PSIGNAL */
230 /* Define if you have the pstat_getdynamic function.  */
231 /* #undef HAVE_PSTAT_GETDYNAMIC */
233 /* Define if you have the setegid function.  */
234 /* #undef HAVE_SETEGID */
236 /* Define if you have the seteuid function.  */
237 /* #undef HAVE_SETEUID */
239 /* Define if you have the setlinebuf function.  */
240 /* #undef HAVE_SETLINEBUF */
242 /* Define if you have the setregid function.  */
243 /* #undefine HAVE_SETREGID */
245 /* Define if you have the setreuid function.  */
246 /* #define HAVE_SETREUID */
248 /* Define if you have the sigsetmask function.  */
249 #define HAVE_SIGSETMASK 1
251 /* Define if you have the socket function.  */
252 /* #undef HAVE_SOCKET */
254 /* Define if you have the strcasecmp function.  */
255 /* #undef HAVE_STRCASECMP */
257 /* Define if you have the strerror function.  */
258 #define HAVE_STRERROR 1
260 /* Define if you have the strsignal function.  */
261 /* #undef HAVE_STRSIGNAL */
263 /* Define if you have the wait3 function.  */
264 /* #undef HAVE_WAIT3 */
266 /* Define if you have the waitpid function.  */
267 /* #undef HAVE_WAITPID */
269 /* Define if you have the <dirent.h> header file.  */
270 /* #undef HAVE_DIRENT_H */
272 /* Define if you have the <fcntl.h> header file.  */
273 #ifdef __DECC
274 #define HAVE_FCNTL_H 1
275 #endif
277 /* Define if you have the <limits.h> header file.  */
278 #define HAVE_LIMITS_H 1
280 /* Define if you have the <mach/mach.h> header file.  */
281 /* #undef HAVE_MACH_MACH_H */
283 /* Define if you have the <memory.h> header file.  */
284 /* #undef HAVE_MEMORY_H */
286 /* Define if you have the <ndir.h> header file.  */
287 /* #undef HAVE_NDIR_H */
289 /* Define if you have the <stdlib.h> header file.  */
290 #define HAVE_STDLIB_H 1
292 /* Define if you have the <string.h> header file.  */
293 #define HAVE_STRING_H 1
295 /* Define if you have the <sys/dir.h> header file.  */
296 /* #undef HAVE_SYS_DIR_H */
298 /* Define if you have the <sys/ndir.h> header file.  */
299 /* #undef HAVE_SYS_NDIR_H */
301 /* Define if you have the <sys/param.h> header file.  */
302 /* #undef HAVE_SYS_PARAM_H */
304 /* Define if you have the <sys/timeb.h> header file.  */
305 #define HAVE_SYS_TIMEB_H 1
307 /* Define if you have the <sys/wait.h> header file.  */
308 /* #undef HAVE_SYS_WAIT_H */
310 /* Define if you have the <unistd.h> header file.  */
311 /* #undef HAVE_UNISTD_H */
313 /* Define if you have the dgc library (-ldgc).  */
314 /* #undef HAVE_LIBDGC */
316 /* Define if you have the kstat library (-lkstat).  */
317 /* #undef HAVE_LIBKSTAT */
319 /* Define if you have the sun library (-lsun).  */
320 /* #undef HAVE_LIBSUN */
322 /* VMS specific */
324 #define HAVE_VMSDIR_H 1
325 #define INCLUDEDIR "sys$sysroot:[syslib]"
326 #define LIBDIR "sys$sysroot:[syslib]"
328 /* Avoid broken RTL functions on OpenVMS */
329 #include <unixlib.h>
330 #define getopt gnu_getopt
331 #define optarg gnu_optarg
332 #define optopt gnu_optopt
333 #define optind gnu_optind
334 #define opterr gnu_opterr
336 #if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
337 #undef  PARAMS
338 #define PARAMS(protos)  protos
339 #else /* Not C++ or ANSI C.  */
340 #undef  PARAMS
341 #define PARAMS(protos)  ()
342 #endif /* C++ or ANSI C.  */
344 /* Build host information. */
345 #define MAKE_HOST "VMS"