* New config.sub and config.guess
[make.git] / config.h-vms.template
blob2d060bb556e01b3b72c0054120a7a7a27cfcbbcb
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.  */
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 */
14 /* maybe this should be placed into make.h */
15 #if     defined(__VAX) && defined(__DECC)
16 #define alloca(n)       __ALLOCA(n)
17 #endif
19 /* Define to 1 if NLS is requested.  */
20 /* #undef ENABLE_NLS */
22 /* Define as 1 if you have dcgettext.  */
23 /* #undef HAVE_DCGETTEXT */
25 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
26 /* #undef HAVE_GETTEXT */
28 /* Define if your locale.h file contains LC_MESSAGES.  */
29 /* #undef HAVE_LC_MESSAGES */
31 /* Define to the installation directory for locales.  */
32 #define LOCALEDIR ""
34 /* Define as 1 if you have the stpcpy function.  */
35 /* #undef HAVE_STPCPY */
37 /* Define if the closedir function returns void instead of int.  */
38 /* #undef CLOSEDIR_VOID */
40 /* Define to empty if the keyword does not work.  */
41 /* #undef const */
43 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
44    This function is required for alloca.c support on those systems.  */
45 /* #undef CRAY_STACKSEG_END */
47 /* Define for DGUX with <sys/dg_sys_info.h>.  */
48 /* #undef DGUX */
50 /* Define if the `getloadavg' function needs to be run setuid or setgid.  */
51 /* #undef GETLOADAVG_PRIVILEGED */
53 /* Define to `int' if <sys/types.h> doesn't define.  */
54 /* #undef gid_t */
56 /* Define if you have alloca, as a function or macro.  */
57 #define HAVE_ALLOCA 1
59 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
60 /* #undef HAVE_ALLOCA_H */
62 /* Define if you don't have vprintf but do have _doprnt.  */
63 /* #undef HAVE_DOPRNT */
65 /* Define if your system has a working fnmatch function.  */
66 /* #undef HAVE_FNMATCH */
68 /* Define if your system has its own `getloadavg' function.  */
69 /* #undef HAVE_GETLOADAVG */
71 /* Define if you have the getmntent function.  */
72 /* #undef HAVE_GETMNTENT */
74 /* Define if the `long double' type works.  */
75 /* #undef HAVE_LONG_DOUBLE */
77 /* Define if you support file names longer than 14 characters.  */
78 #define HAVE_LONG_FILE_NAMES 1
80 /* Define if you have a working `mmap' system call.  */
81 /* #undef HAVE_MMAP */
83 /* Define if system calls automatically restart after interruption
84    by a signal.  */
85 /* #undef HAVE_RESTARTABLE_SYSCALLS */
87 /* Define if your struct stat has st_blksize.  */
88 /* #undef HAVE_ST_BLKSIZE */
90 /* Define if your struct stat has st_blocks.  */
91 /* #undef HAVE_ST_BLOCKS */
93 /* Define if you have the strcoll function and it is properly defined.  */
94 /* #undef HAVE_STRCOLL */
96 /* Define if your struct stat has st_rdev.  */
97 /* #undef HAVE_ST_RDEV */
99 /* Define if you have the strftime function.  */
100 /* #undef HAVE_STRFTIME */
102 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
103 /* #undef HAVE_SYS_WAIT_H */
105 /* Define if your struct tm has tm_zone.  */
106 /* #undef HAVE_TM_ZONE */
108 /* Define if you don't have tm_zone but do have the external array
109    tzname.  */
110 /* #undef HAVE_TZNAME */
112 /* Define if you have <unistd.h>.  */
113 #ifdef __DECC
114 #define HAVE_UNISTD_H 1
115 #endif
117 /* Define if utime(file, NULL) sets file's timestamp to the present.  */
118 /* #undef HAVE_UTIME_NULL */
120 /* Define if you have <vfork.h>.  */
121 /* #undef HAVE_VFORK_H */
123 /* Define if you have the vprintf function.  */
124 #define HAVE_VPRINTF 1
126 /* Define if you have the wait3 system call.  */
127 /* #undef HAVE_WAIT3 */
129 /* Define if on MINIX.  */
130 /* #undef _MINIX */
132 /* Define if your struct nlist has an n_un member.  */
133 /* #undef NLIST_NAME_UNION */
135 /* Define if you have <nlist.h>.  */
136 /* #undef NLIST_STRUCT */
138 /* Define if your C compiler doesn't accept -c and -o together.  */
139 /* #undef NO_MINUS_C_MINUS_O */
141 /* Define to `int' if <sys/types.h> doesn't define.  */
142 /* I assume types.h is available for all 5.0 cc/cxx compilers */
143 #if __DECC_VER < 50090000
144 #define pid_t int
145 #endif
147 /* Define if the system does not provide POSIX.1 features except
148    with this defined.  */
149 /* #undef _POSIX_1_SOURCE */
151 /* Define if you need to in order for stat and other things to work.  */
152 /* #undef _POSIX_SOURCE */
154 /* Define as the return type of signal handlers (int or void).  */
155 #define RETSIGTYPE void
157 /* Define if the setvbuf function takes the buffering type as its second
158    argument and the buffer pointer as the third, as on System V
159    before release 3.  */
160 /* #undef SETVBUF_REVERSED */
162 /* If using the C implementation of alloca, define if you know the
163    direction of stack growth for your system; otherwise it will be
164    automatically deduced at run-time.
165         STACK_DIRECTION > 0 => grows toward higher addresses
166         STACK_DIRECTION < 0 => grows toward lower addresses
167         STACK_DIRECTION = 0 => direction of growth unknown
168  */
169 /* #undef STACK_DIRECTION */
171 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
172 /* #undef STAT_MACROS_BROKEN */
174 /* Define if you have the ANSI C header files.  */
175 /* #undef STDC_HEADERS */
177 /* Define on System V Release 4.  */
178 /* #undef SVR4 */
180 /* Define if `sys_siglist' is declared by <signal.h>.  */
181 /* #undef SYS_SIGLIST_DECLARED */
183 /* Define to `int' if <sys/types.h> doesn't define.  */
184 #if __DECC_VER < 50090000
185 #define uid_t int
186 #endif
188 /* Define for Encore UMAX.  */
189 /* #undef UMAX */
191 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
192    instead of <sys/cpustats.h>.  */
193 /* #undef UMAX4_3 */
195 /* Define vfork as fork if vfork does not work.  */
196 /* #undef vfork */
198 /* Name of this package (needed by automake) */
199 #define PACKAGE "%PACKAGE%"
201 /* Version of this package (needed by automake) */
202 #define VERSION "%VERSION%"
204 /* Define to the name of the SCCS `get' command.  */
205 /* #undef SCCS_GET */
207 /* Define this if the SCCS `get' command understands the `-G<file>' option.  */
208 /* #undef SCCS_GET_MINUS_G */
210 /* Define this to enable job server support in GNU make.  */
211 /* #undef MAKE_JOBSERVER */
213 /* Define to be the nanoseconds member of struct stat's st_mtim,
214    if it exists.  */
215 /* #undef ST_MTIM_NSEC */
217 /* Define this if the C library defines the variable `sys_siglist'.  */
218 /* #undefine HAVE_SYS_SIGLIST */
220 /* Define this if the C library defines the variable `_sys_siglist'.  */
221 /* #undef HAVE__SYS_SIGLIST */
223 /* Define this if you have the `union wait' type in <sys/wait.h>.  */
224 /* #undef HAVE_UNION_WAIT */
226 /* Define if you have the dup2 function.  */
227 #define HAVE_DUP2 1
229 /* Define if you have the getcwd function.  */
230 #define HAVE_GETCWD 1
232 /* Define if you have the getgroups function.  */
233 /* #undef HAVE_GETGROUPS */
235 /* Define if you have the gethostbyname function.  */
236 /* #undef HAVE_GETHOSTBYNAME */
238 /* Define if you have the gethostname function.  */
239 /* #undef HAVE_GETHOSTNAME */
241 /* Define if you have the getloadavg function.  */
242 /* #undef HAVE_GETLOADAVG */
244 /* Define if you have the memmove function.  */
245 #define HAVE_MEMMOVE 1
247 /* Define if you have the mktemp function.  */
248 #define HAVE_MKTEMP 1
250 /* Define if you have the psignal function.  */
251 /* #undef HAVE_PSIGNAL */
253 /* Define if you have the pstat_getdynamic function.  */
254 /* #undef HAVE_PSTAT_GETDYNAMIC */
256 /* Define if you have the setegid function.  */
257 /* #undef HAVE_SETEGID */
259 /* Define if you have the seteuid function.  */
260 /* #undef HAVE_SETEUID */
262 /* Define if you have the setlinebuf function.  */
263 /* #undef HAVE_SETLINEBUF */
265 /* Define if you have the setregid function.  */
266 /* #undefine HAVE_SETREGID */
268 /* Define if you have the setreuid function.  */
269 /* #define HAVE_SETREUID */
271 /* Define if you have the sigsetmask function.  */
272 #define HAVE_SIGSETMASK 1
274 /* Define if you have the socket function.  */
275 /* #undef HAVE_SOCKET */
277 /* Define if you have the strcasecmp function.  */
278 /* #undef HAVE_STRCASECMP */
280 /* Define if you have the strerror function.  */
281 #define HAVE_STRERROR 1
283 /* Define if you have the strsignal function.  */
284 /* #undef HAVE_STRSIGNAL */
286 /* Define if you have the wait3 function.  */
287 /* #undef HAVE_WAIT3 */
289 /* Define if you have the waitpid function.  */
290 /* #undef HAVE_WAITPID */
292 /* Define if you have the <dirent.h> header file.  */
293 #define HAVE_DIRENT_H 1
295 /* Define if you have the <fcntl.h> header file.  */
296 #ifdef __DECC
297 #define HAVE_FCNTL_H 1
298 #endif
300 /* Define if you have the <limits.h> header file.  */
301 #define HAVE_LIMITS_H 1
303 /* Define if you have the <mach/mach.h> header file.  */
304 /* #undef HAVE_MACH_MACH_H */
306 /* Define if you have the <memory.h> header file.  */
307 /* #undef HAVE_MEMORY_H */
309 /* Define if you have the <ndir.h> header file.  */
310 /* #undef HAVE_NDIR_H */
312 /* Define if you have the <stdlib.h> header file.  */
313 #define HAVE_STDLIB_H 1
315 /* Define if you have the <string.h> header file.  */
316 #define HAVE_STRING_H 1
318 /* Define if you have the <sys/dir.h> header file.  */
319 /* #undef HAVE_SYS_DIR_H */
321 /* Define if you have the <sys/ndir.h> header file.  */
322 /* #undef HAVE_SYS_NDIR_H */
324 /* Define if you have the <sys/param.h> header file.  */
325 /* #undef HAVE_SYS_PARAM_H */
327 /* Define if you have the <sys/timeb.h> header file.  */
328 #ifndef __GNUC__
329 #define HAVE_SYS_TIMEB_H 1
330 #endif
332 /* Define if you have the <sys/wait.h> header file.  */
333 /* #undef HAVE_SYS_WAIT_H */
335 /* Define if you have the dgc library (-ldgc).  */
336 /* #undef HAVE_LIBDGC */
338 /* Define if you have the kstat library (-lkstat).  */
339 /* #undef HAVE_LIBKSTAT *
341 /* Define if you have the sun library (-lsun).  */
342 /* #undef HAVE_LIBSUN */
344 /* Define for case insensitve filenames */
345 #define HAVE_CASE_INSENSITIVE_FS 1
347 /* VMS specific, define it if you want to use case sensitve targets */
348 /* #undef WANT_CASE_SENSITIVE_TARGETS */
350 /* VMS specific, V7.0 has opendir() and friends, so it's undefined */
351 /* If you want to use non-VMS code for opendir() etc. on V7.0 and greater
352    define the first or both macros AND change the compile command to get the
353    non-VMS versions linked: (prefix=(all,except=(opendir,...  */
354 /* #undef HAVE_VMSDIR_H */
355 /* #undef _DIRENT_HAVE_D_NAMLEN */
357 /* On older systems without 7.0 backport of CRTL the first one is defined */
358 #ifdef __CRTL_VER
359 # if __CRTL_VER < 70000000
360 #  define HAVE_VMSDIR_H 1
361 # endif
362 #else
363 # if __VMS_VER < 70000000
364 #  define HAVE_VMSDIR_H 1
365 # endif
366 #endif
368 #if defined(HAVE_VMSDIR_H) && defined(HAVE_DIRENT_H)
369 #undef HAVE_DIRENT_H
370 #endif
372 #define HAVE_STDLIB_H 1
373 #define INCLUDEDIR "sys$sysroot:[syslib]"
374 #define LIBDIR "sys$sysroot:[syslib]"
376 /* Don't use RTL functions of OpenVMS */
377 #ifdef __DECC
378 #include <stdio.h>
379 #include <unistd.h>
380 #define getopt gnu_getopt
381 #define optarg gnu_optarg
382 #define optopt gnu_optopt
383 #define optind gnu_optind
384 #define opterr gnu_opterr
385 #endif
387 #if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
388 #undef  PARAMS
389 #define PARAMS(protos)  protos
390 #else /* Not C++ or ANSI C.  */
391 #undef  PARAMS
392 #define PARAMS(protos)  ()
393 #endif /* C++ or ANSI C.  */
395 /* Build host information. */
396 #define MAKE_HOST "VMS"