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