1 | #ifndef CONFIG_H
|
---|
2 | #define CONFIG_H
|
---|
3 | /*
|
---|
4 | * config.h -- configuration definitions for gawk.
|
---|
5 | *
|
---|
6 | * For VMS (assumes V4.6 or later; tested on V5.5-2 and V7.1)
|
---|
7 | */
|
---|
8 |
|
---|
9 | /*
|
---|
10 | * Copyright (C) 1991-1992, 1995-1996, 1999, 2001, 2002, 2003, 2005 the Free Software Foundation, Inc.
|
---|
11 | *
|
---|
12 | * This file is part of GAWK, the GNU implementation of the
|
---|
13 | * AWK Programming Language.
|
---|
14 | *
|
---|
15 | * GAWK is free software; you can redistribute it and/or modify
|
---|
16 | * it under the terms of the GNU General Public License as published by
|
---|
17 | * the Free Software Foundation; either version 2 of the License, or
|
---|
18 | * (at your option) any later version.
|
---|
19 | *
|
---|
20 | * GAWK is distributed in the hope that it will be useful,
|
---|
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
23 | * GNU General Public License for more details.
|
---|
24 | *
|
---|
25 | * You should have received a copy of the GNU General Public License
|
---|
26 | * along with this program; if not, write to the Free Software
|
---|
27 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
28 | */
|
---|
29 |
|
---|
30 | /* switch statements are enabled in awk programs */
|
---|
31 | #undef ALLOW_SWITCH
|
---|
32 |
|
---|
33 | /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
---|
34 | systems. This function is required for `alloca.c' support on those systems.
|
---|
35 | */
|
---|
36 | #undef CRAY_STACKSEG_END
|
---|
37 |
|
---|
38 | #if 0
|
---|
39 | /* Define to 1 if using alloca.c. */
|
---|
40 | #define C_ALLOCA 1
|
---|
41 | #else
|
---|
42 | #define NO_ALLOCA /* vms/vms_fwrite.c needs this */
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | /* dynamic loading is possible */
|
---|
46 | #undef DYNAMIC
|
---|
47 |
|
---|
48 | /* Define to 1 if translation of program messages to the user's native
|
---|
49 | language is requested. */
|
---|
50 | #undef ENABLE_NLS
|
---|
51 |
|
---|
52 | /* Define to the type of elements in the array set by `getgroups'. Usually
|
---|
53 | this is either `int' or `gid_t'. */
|
---|
54 | #define GETGROUPS_T int
|
---|
55 |
|
---|
56 | /* Define to 1 if the `getpgrp' function requires zero arguments. */
|
---|
57 | #define GETPGRP_VOID 1
|
---|
58 |
|
---|
59 | /* Define to 1 if you have the `alarm' function. */
|
---|
60 | #define HAVE_ALARM 1
|
---|
61 |
|
---|
62 | /* Define to 1 if you have `alloca', as a function or macro. */
|
---|
63 | #undef HAVE_ALLOCA
|
---|
64 |
|
---|
65 | /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
---|
66 | */
|
---|
67 | #undef HAVE_ALLOCA_H
|
---|
68 |
|
---|
69 | /* Define to 1 if you have the <argz.h> header file. */
|
---|
70 | #undef HAVE_ARGZ_H
|
---|
71 |
|
---|
72 | /* Define to 1 if you have the `asprintf' function. */
|
---|
73 | #undef HAVE_ASPRINTF
|
---|
74 |
|
---|
75 | /* Define if the GNU dcgettext() function is already present or preinstalled.
|
---|
76 | */
|
---|
77 | #undef HAVE_DCGETTEXT
|
---|
78 |
|
---|
79 | /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
---|
80 | don't. */
|
---|
81 | #define HAVE_DECL_FEOF_UNLOCKED 0
|
---|
82 |
|
---|
83 | /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
---|
84 | you don't. */
|
---|
85 | #define HAVE_DECL_FGETS_UNLOCKED 0
|
---|
86 |
|
---|
87 | /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
---|
88 | don't. */
|
---|
89 | #define HAVE_DECL_GETC_UNLOCKED 0
|
---|
90 |
|
---|
91 | /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
|
---|
92 | don't. */
|
---|
93 | #define HAVE_DECL__SNPRINTF 0
|
---|
94 |
|
---|
95 | /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
|
---|
96 | don't. */
|
---|
97 | #define HAVE_DECL__SNWPRINTF 0
|
---|
98 |
|
---|
99 | /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
---|
100 | #undef HAVE_DOPRNT
|
---|
101 |
|
---|
102 | /* Define to 1 if you have the <fcntl.h> header file. */
|
---|
103 | #undef HAVE_FCNTL_H
|
---|
104 |
|
---|
105 | /* Define to 1 if you have the `fmod' function. */
|
---|
106 | #define HAVE_FMOD 1
|
---|
107 |
|
---|
108 | /* Define to 1 if you have the `fwprintf' function. */
|
---|
109 | #undef HAVE_FWPRINTF
|
---|
110 |
|
---|
111 | /* Define to 1 if you have the `getcwd' function. */
|
---|
112 | #define HAVE_GETCWD 1
|
---|
113 |
|
---|
114 | /* Define to 1 if you have the `getegid' function. */
|
---|
115 | #undef HAVE_GETEGID
|
---|
116 |
|
---|
117 | /* Define to 1 if you have the `geteuid' function. */
|
---|
118 | #define HAVE_GETEUID 1
|
---|
119 |
|
---|
120 | /* Define to 1 if you have the `getgid' function. */
|
---|
121 | #define HAVE_GETGID 1
|
---|
122 |
|
---|
123 | /* Define to 1 if you have the `getgrent' function. */
|
---|
124 | #undef HAVE_GETGRENT
|
---|
125 |
|
---|
126 | /* Define to 1 if you have the `getgroups' function. */
|
---|
127 | #undef HAVE_GETGROUPS
|
---|
128 |
|
---|
129 | /* Define if you have the getpagesize function. */
|
---|
130 | #undef HAVE_GETPAGESIZE
|
---|
131 |
|
---|
132 | /* Define if the GNU gettext() function is already present or preinstalled. */
|
---|
133 | #undef HAVE_GETTEXT
|
---|
134 |
|
---|
135 | /* Define to 1 if you have the `getuid' function. */
|
---|
136 | #define HAVE_GETUID 1
|
---|
137 |
|
---|
138 | /* Define to 1 if you have the `grantpt' function. */
|
---|
139 | #undef HAVE_GRANTPT
|
---|
140 |
|
---|
141 | /* Define if you have the iconv() function. */
|
---|
142 | #undef HAVE_ICONV
|
---|
143 |
|
---|
144 | /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
---|
145 | #undef HAVE_INTMAX_T
|
---|
146 |
|
---|
147 | /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
|
---|
148 | #undef HAVE_INTTYPES_H
|
---|
149 |
|
---|
150 | /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
---|
151 | declares uintmax_t. */
|
---|
152 | #undef HAVE_INTTYPES_H_WITH_UINTMAX
|
---|
153 |
|
---|
154 | /* Define to 1 if you have the `iswctype' function. */
|
---|
155 | #undef HAVE_ISWCTYPE
|
---|
156 |
|
---|
157 | /* Define to 1 if you have the `iswlower' function. */
|
---|
158 | #undef HAVE_ISWLOWER
|
---|
159 |
|
---|
160 | /* Define to 1 if you have the `iswupper' function. */
|
---|
161 | #undef HAVE_ISWUPPER
|
---|
162 |
|
---|
163 | /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
---|
164 | #undef HAVE_LANGINFO_CODESET
|
---|
165 |
|
---|
166 | /* Define if your <locale.h> file defines LC_MESSAGES. */
|
---|
167 | #undef HAVE_LC_MESSAGES
|
---|
168 |
|
---|
169 | /* Define to 1 if you have the `dl' library (-ldl). */
|
---|
170 | #undef HAVE_LIBDL
|
---|
171 |
|
---|
172 | /* Define to 1 if you have the <libintl.h> header file. */
|
---|
173 | #undef HAVE_LIBINTL_H
|
---|
174 |
|
---|
175 | /* Define to 1 if you have the `m' library (-lm). */
|
---|
176 | #undef HAVE_LIBM
|
---|
177 |
|
---|
178 | /* Define to 1 if you have the <limits.h> header file. */
|
---|
179 | #define HAVE_LIMITS_H 1
|
---|
180 |
|
---|
181 | /* Define to 1 if you have the <locale.h> header file. */
|
---|
182 | #undef HAVE_LOCALE_H
|
---|
183 |
|
---|
184 | /* Define if you have the 'long double' type. */
|
---|
185 | #undef HAVE_LONG_DOUBLE
|
---|
186 |
|
---|
187 | /* Define if you have the 'long long' type. */
|
---|
188 | #undef HAVE_LONG_LONG
|
---|
189 |
|
---|
190 | /* Define to 1 if you have the <malloc.h> header file. */
|
---|
191 | #undef HAVE_MALLOC_H
|
---|
192 |
|
---|
193 | /* Define to 1 if you have the `mbrlen' function. */
|
---|
194 | #undef HAVE_MBRLEN
|
---|
195 |
|
---|
196 | /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
---|
197 | #undef HAVE_MBRTOWC
|
---|
198 |
|
---|
199 | /* Define to 1 if you have the <mcheck.h> header file. */
|
---|
200 | #undef HAVE_MCHECK_H
|
---|
201 |
|
---|
202 | /* Define to 1 if you have the `memcmp' function. */
|
---|
203 | #define HAVE_MEMCMP 1
|
---|
204 |
|
---|
205 | /* Define to 1 if you have the `memcpy' function. */
|
---|
206 | #define HAVE_MEMCPY 1
|
---|
207 |
|
---|
208 | /* Define to 1 if you have the `memmove' function. */
|
---|
209 | #define HAVE_MEMMOVE 1
|
---|
210 |
|
---|
211 | /* Define to 1 if you have the <memory.h> header file. */
|
---|
212 | #undef HAVE_MEMORY_H
|
---|
213 |
|
---|
214 | /* Define to 1 if you have the `mempcpy' function. */
|
---|
215 | #undef HAVE_MEMPCPY
|
---|
216 |
|
---|
217 | /* Define to 1 if you have the `memset' function. */
|
---|
218 | #define HAVE_MEMSET 1
|
---|
219 |
|
---|
220 | /* we have the mktime function */
|
---|
221 | #define HAVE_MKTIME 1
|
---|
222 |
|
---|
223 | /* Define to 1 if you have a working `mmap' system call. */
|
---|
224 | #undef HAVE_MMAP
|
---|
225 |
|
---|
226 | /* Define to 1 if you have the `munmap' function. */
|
---|
227 | #undef HAVE_MUNMAP
|
---|
228 |
|
---|
229 | /* Define to 1 if you have the <netdb.h> header file. */
|
---|
230 | #undef HAVE_NETDB_H
|
---|
231 |
|
---|
232 | /* Define to 1 if you have the <netinet/in.h> header file. */
|
---|
233 | #undef HAVE_NETINET_IN_H
|
---|
234 |
|
---|
235 | /* Define to 1 if you have the <nl_types.h> header file. */
|
---|
236 | #undef HAVE_NL_TYPES_H
|
---|
237 |
|
---|
238 | /* we have portals on /p on this system */
|
---|
239 | #undef HAVE_PORTALS
|
---|
240 |
|
---|
241 | /* Define if your printf() function supports format strings with positions. */
|
---|
242 | #undef HAVE_POSIX_PRINTF
|
---|
243 |
|
---|
244 | /* Define to 1 if you have the `putenv' function. */
|
---|
245 | #undef HAVE_PUTENV
|
---|
246 |
|
---|
247 | /* Define to 1 if you have the `setenv' function. */
|
---|
248 | #undef HAVE_SETENV
|
---|
249 |
|
---|
250 | /* Define to 1 if you have the `setlocale' function. */
|
---|
251 | #undef HAVE_SETLOCALE
|
---|
252 |
|
---|
253 | /* Define to 1 if you have the <signum.h> header file. */
|
---|
254 | #undef HAVE_SIGNUM_H
|
---|
255 |
|
---|
256 | /* Define to 1 if you have the `snprintf' function. */
|
---|
257 | #undef HAVE_SNPRINTF
|
---|
258 |
|
---|
259 | /* we have sockets on this system */
|
---|
260 | #undef HAVE_SOCKETS
|
---|
261 |
|
---|
262 | /* Define to 1 if you have the <stdarg.h> header file. */
|
---|
263 | #define HAVE_STDARG_H 1
|
---|
264 |
|
---|
265 | /* Define to 1 if you have the <stddef.h> header file. */
|
---|
266 | #define HAVE_STDDEF_H 1
|
---|
267 |
|
---|
268 | /* Define to 1 if you have the <stdint.h> header file. */
|
---|
269 | #undef HAVE_STDINT_H
|
---|
270 |
|
---|
271 | /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
---|
272 | uintmax_t. */
|
---|
273 | #undef HAVE_STDINT_H_WITH_UINTMAX
|
---|
274 |
|
---|
275 | /* Define to 1 if you have the <stdlib.h> header file. */
|
---|
276 | #define HAVE_STDLIB_H 1
|
---|
277 |
|
---|
278 | /* Define to 1 if you have the `stpcpy' function. */
|
---|
279 | #undef HAVE_STPCPY
|
---|
280 |
|
---|
281 | /* Define to 1 if you have the `strcasecmp' function. */
|
---|
282 | #undef HAVE_STRCASECMP
|
---|
283 |
|
---|
284 | /* Define to 1 if you have the `strchr' function. */
|
---|
285 | #define HAVE_STRCHR 1
|
---|
286 |
|
---|
287 | /* Define to 1 if you have the `strdup' function. */
|
---|
288 | #undef HAVE_STRDUP
|
---|
289 |
|
---|
290 | /* Define to 1 if you have the `strerror' function. */
|
---|
291 | #define HAVE_STRERROR 1
|
---|
292 |
|
---|
293 | /* Define to 1 if you have the `strftime' function. */
|
---|
294 | #undef HAVE_STRFTIME /* use the missing_d/strfime.c version */
|
---|
295 |
|
---|
296 | /* Define to 1 if cpp supports the ANSI # stringizing operator. */
|
---|
297 | #ifdef VAXC
|
---|
298 | #undef HAVE_STRINGIZE
|
---|
299 | #else
|
---|
300 | #define HAVE_STRINGIZE 1
|
---|
301 | #endif
|
---|
302 |
|
---|
303 | /* Define to 1 if you have the <strings.h> header file. */
|
---|
304 | #undef HAVE_STRINGS_H
|
---|
305 |
|
---|
306 | /* Define to 1 if you have the <string.h> header file. */
|
---|
307 | #define HAVE_STRING_H 1
|
---|
308 |
|
---|
309 | /* Define to 1 if you have the `strncasecmp' function. */
|
---|
310 | #undef HAVE_STRNCASECMP
|
---|
311 |
|
---|
312 | /* Define to 1 if you have the <stropts.h> header file. */
|
---|
313 | #undef HAVE_STROPTS_H
|
---|
314 |
|
---|
315 | /* Define to 1 if you have the `strtod' function. */
|
---|
316 | #define HAVE_STRTOD 1
|
---|
317 |
|
---|
318 | /* Define to 1 if you have the `strtoul' function. */
|
---|
319 | #define HAVE_STRTOUL 1
|
---|
320 |
|
---|
321 | /* Define to 1 if `st_blksize' is member of `struct stat'. */
|
---|
322 | #undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
---|
323 |
|
---|
324 | /* Define to 1 if `tm_zone' is member of `struct tm'. */
|
---|
325 | #undef HAVE_STRUCT_TM_TM_ZONE
|
---|
326 |
|
---|
327 | /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
|
---|
328 | `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
|
---|
329 | #undef HAVE_ST_BLKSIZE
|
---|
330 |
|
---|
331 | /* Define to 1 if you have the `system' function. */
|
---|
332 | #define HAVE_SYSTEM 1
|
---|
333 |
|
---|
334 | /* Define to 1 if you have the <sys/param.h> header file. */
|
---|
335 | #undef HAVE_SYS_PARAM_H
|
---|
336 |
|
---|
337 | /* Define to 1 if you have the <sys/socket.h> header file. */
|
---|
338 | #undef HAVE_SYS_SOCKET_H
|
---|
339 |
|
---|
340 | /* Define to 1 if you have the <sys/stat.h> header file. */
|
---|
341 | #undef HAVE_SYS_STAT_H
|
---|
342 |
|
---|
343 | /* Define to 1 if you have the <sys/time.h> header file. */
|
---|
344 | #undef HAVE_SYS_TIME_H
|
---|
345 |
|
---|
346 | /* Define to 1 if you have the <sys/types.h> header file. */
|
---|
347 | #undef HAVE_SYS_TYPES_H
|
---|
348 |
|
---|
349 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
---|
350 | #undef HAVE_SYS_WAIT_H
|
---|
351 |
|
---|
352 | /* Define to 1 if you have the <termios.h> header file. */
|
---|
353 | #undef HAVE_TERMIOS_H
|
---|
354 |
|
---|
355 | /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
---|
356 | `HAVE_STRUCT_TM_TM_ZONE' instead. */
|
---|
357 | #undef HAVE_TM_ZONE
|
---|
358 |
|
---|
359 | /* Define to 1 if you have the `towlower' function. */
|
---|
360 | #undef HAVE_TOWLOWER
|
---|
361 |
|
---|
362 | /* Define to 1 if you have the `towupper' function. */
|
---|
363 | #undef HAVE_TOWUPPER
|
---|
364 |
|
---|
365 | /* Define to 1 if you have the `tsearch' function. */
|
---|
366 | #undef HAVE_TSEARCH
|
---|
367 |
|
---|
368 | /* Define to 1 if you don't have `tm_zone' but do have the external array
|
---|
369 | `tzname'. */
|
---|
370 | #define HAVE_TZNAME 1 /* (faked in vms/vms_misc.c) */
|
---|
371 |
|
---|
372 | /* Define to 1 if you have the `tzset' function. */
|
---|
373 | #define HAVE_TZSET 1 /* (faked in vms/vms_misc.c) */
|
---|
374 |
|
---|
375 | /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
|
---|
376 | #undef HAVE_UINTMAX_T
|
---|
377 |
|
---|
378 | /* Define to 1 if you have the <unistd.h> header file. */
|
---|
379 | #ifdef __DECC
|
---|
380 | #define HAVE_UNISTD_H 1
|
---|
381 | #else
|
---|
382 | #undef HAVE_UNISTD_H
|
---|
383 | #endif
|
---|
384 |
|
---|
385 | /* Define if you have the unsigned long long type. */
|
---|
386 | #undef HAVE_UNSIGNED_LONG_LONG
|
---|
387 |
|
---|
388 | /* Define to 1 if you have the `vprintf' function. */
|
---|
389 | #define HAVE_VPRINTF 1
|
---|
390 |
|
---|
391 | /* Define to 1 if you have the <wchar.h> header file. */
|
---|
392 | #undef HAVE_WCHAR_H
|
---|
393 |
|
---|
394 | /* Define if you have the 'wchar_t' type. */
|
---|
395 | #undef HAVE_WCHAR_T
|
---|
396 |
|
---|
397 | /* Define to 1 if you have the `wcrtomb' function. */
|
---|
398 | #undef HAVE_WCRTOMB
|
---|
399 |
|
---|
400 | /* Define to 1 if you have the `wcscoll' function. */
|
---|
401 | #undef HAVE_WCSCOLL
|
---|
402 |
|
---|
403 | /* Define to 1 if you have the `wcslen' function. */
|
---|
404 | #undef HAVE_WCSLEN
|
---|
405 |
|
---|
406 | /* Define to 1 if you have the `wctype' function. */
|
---|
407 | #undef HAVE_WCTYPE
|
---|
408 |
|
---|
409 | /* Define to 1 if you have the <wctype.h> header file. */
|
---|
410 | #undef HAVE_WCTYPE_H
|
---|
411 |
|
---|
412 | /* systems should define this type here */
|
---|
413 | #undef HAVE_WCTYPE_T
|
---|
414 |
|
---|
415 | /* systems should define this type here */
|
---|
416 | #undef HAVE_WINT_T
|
---|
417 |
|
---|
418 | /* Define to 1 if you have the `__argz_count' function. */
|
---|
419 | #undef HAVE___ARGZ_COUNT
|
---|
420 |
|
---|
421 | /* Define to 1 if you have the `__argz_next' function. */
|
---|
422 | #undef HAVE___ARGZ_NEXT
|
---|
423 |
|
---|
424 | /* Define to 1 if you have the `__argz_stringify' function. */
|
---|
425 | #undef HAVE___ARGZ_STRINGIFY
|
---|
426 |
|
---|
427 | /* Define to 1 if you have the `__fsetlocking' function. */
|
---|
428 | #undef HAVE___FSETLOCKING
|
---|
429 |
|
---|
430 | /* Define as const if the declaration of iconv() needs const. */
|
---|
431 | #undef ICONV_CONST
|
---|
432 |
|
---|
433 | /* Define if integer division by zero raises signal SIGFPE. */
|
---|
434 | #define INTDIV0_RAISES_SIGFPE 1
|
---|
435 |
|
---|
436 | /* disable lint checks */
|
---|
437 | #undef NO_LINT
|
---|
438 |
|
---|
439 | /* Name of package */
|
---|
440 | #define PACKAGE "gawk"
|
---|
441 |
|
---|
442 | /* Define to the address where bug reports for this package should be sent. */
|
---|
443 | #define PACKAGE_BUGREPORT "bug-gawk@gnu.org"
|
---|
444 |
|
---|
445 | /* Define to the full name of this package. */
|
---|
446 | #define PACKAGE_NAME "GNU Awk"
|
---|
447 |
|
---|
448 | /* Define to the full name and version of this package. */
|
---|
449 | #define PACKAGE_STRING "GNU Awk 3.1.4c"
|
---|
450 |
|
---|
451 | /* Define to the one symbol short name of this package. */
|
---|
452 | #define PACKAGE_TARNAME "gawk"
|
---|
453 |
|
---|
454 | /* Define to the version of this package. */
|
---|
455 | #define PACKAGE_VERSION "3.1.4c"
|
---|
456 |
|
---|
457 | /* Define to 1 if *printf supports %F format */
|
---|
458 | #undef PRINTF_HAS_F_FORMAT
|
---|
459 |
|
---|
460 | /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
---|
461 | #undef PRI_MACROS_BROKEN
|
---|
462 |
|
---|
463 | /* Define if compiler has function prototypes */
|
---|
464 | #define PROTOTYPES 1
|
---|
465 |
|
---|
466 | /* Define as the return type of signal handlers (`int' or `void'). */
|
---|
467 | #define RETSIGTYPE void
|
---|
468 |
|
---|
469 | /* The size of a `unsigned int', as computed by sizeof. */
|
---|
470 | #define SIZEOF_UNSIGNED_INT 4
|
---|
471 |
|
---|
472 | /* The size of a `unsigned long', as computed by sizeof. */
|
---|
473 | #define SIZEOF_UNSIGNED_LONG 4
|
---|
474 |
|
---|
475 | /* Define as the maximum value of type 'size_t', if the system doesn't define
|
---|
476 | it. */
|
---|
477 | #define SIZE_MAX 0xffffffffUL
|
---|
478 |
|
---|
479 | /* return type of sprintf */
|
---|
480 | #define SPRINTF_RET int
|
---|
481 |
|
---|
482 | /* If using the C implementation of alloca, define if you know the
|
---|
483 | direction of stack growth for your system; otherwise it will be
|
---|
484 | automatically deduced at run-time.
|
---|
485 | STACK_DIRECTION > 0 => grows toward higher addresses
|
---|
486 | STACK_DIRECTION < 0 => grows toward lower addresses
|
---|
487 | STACK_DIRECTION = 0 => direction of growth unknown */
|
---|
488 | #define STACK_DIRECTION (-1)
|
---|
489 |
|
---|
490 | /* Define to 1 if you have the ANSI C header files. */
|
---|
491 | #define STDC_HEADERS 1
|
---|
492 |
|
---|
493 | /* strtod doesn't have C89 semantics */
|
---|
494 | #define STRTOD_NOT_C89 1
|
---|
495 |
|
---|
496 | /* some systems define this type here */
|
---|
497 | #undef TIME_T_IN_SYS_TYPES_H
|
---|
498 |
|
---|
499 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
---|
500 | #undef TIME_WITH_SYS_TIME
|
---|
501 |
|
---|
502 | /* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
---|
503 | #undef TM_IN_SYS_TIME
|
---|
504 |
|
---|
505 | /* force use of our version of strftime */
|
---|
506 | #define USE_INCLUDED_STRFTIME 1
|
---|
507 |
|
---|
508 | /* Version number of package */
|
---|
509 | #define VERSION "3.1.4"
|
---|
510 |
|
---|
511 | /* Define to 1 if on AIX 3.
|
---|
512 | System headers sometimes define this.
|
---|
513 | We just want to avoid a redefinition error message. */
|
---|
514 | #ifndef _ALL_SOURCE
|
---|
515 | # undef _ALL_SOURCE
|
---|
516 | #endif
|
---|
517 |
|
---|
518 | /* Number of bits in a file offset, on hosts where this is settable. */
|
---|
519 | #undef _FILE_OFFSET_BITS
|
---|
520 |
|
---|
521 | /* Define for large files, on AIX-style hosts. */
|
---|
522 | #undef _LARGE_FILES
|
---|
523 |
|
---|
524 | /* Define to 1 if on MINIX. */
|
---|
525 | #undef _MINIX
|
---|
526 |
|
---|
527 | /* Define to 2 if the system does not provide POSIX.1 features except with
|
---|
528 | this defined. */
|
---|
529 | #undef _POSIX_1_SOURCE
|
---|
530 |
|
---|
531 | /* Define to 1 if you need to in order for `stat' and other things to work. */
|
---|
532 | #undef _POSIX_SOURCE
|
---|
533 |
|
---|
534 | /* Define to 1 if type `char' is unsigned and you are not using gcc. */
|
---|
535 | #ifndef __CHAR_UNSIGNED__
|
---|
536 | # undef __CHAR_UNSIGNED__
|
---|
537 | #endif
|
---|
538 |
|
---|
539 | /* Define like PROTOTYPES; this can be used by system headers. */
|
---|
540 | #define __PROTOTYPES 1
|
---|
541 |
|
---|
542 | /* Define to empty if `const' does not conform to ANSI C. */
|
---|
543 | #undef const
|
---|
544 |
|
---|
545 | /* Define to `int' if <sys/types.h> doesn't define. */
|
---|
546 | #undef gid_t
|
---|
547 |
|
---|
548 | /* Define to `__inline__' or `__inline' if that's what the C compiler
|
---|
549 | calls it, or to nothing if 'inline' is not supported under any name. */
|
---|
550 | #ifndef __cplusplus
|
---|
551 | #undef inline
|
---|
552 | #endif
|
---|
553 |
|
---|
554 | /* Define to widest signed type if <inttypes.h> doesn't define. */
|
---|
555 | #define intmax_t long int
|
---|
556 |
|
---|
557 | /* Define to `long' if <sys/types.h> doesn't define. */
|
---|
558 | #undef off_t
|
---|
559 |
|
---|
560 | /* Define to `int' if <sys/types.h> doesn't define. */
|
---|
561 | #undef pid_t
|
---|
562 |
|
---|
563 | /* Define as the type of the result of subtracting two pointers, if the system
|
---|
564 | doesn't define it. */
|
---|
565 | #undef ptrdiff_t
|
---|
566 |
|
---|
567 | /* Define to empty if the C compiler doesn't support this keyword. */
|
---|
568 | #undef signed
|
---|
569 |
|
---|
570 | /* Define to `unsigned' if <sys/types.h> doesn't define. */
|
---|
571 | #undef size_t
|
---|
572 |
|
---|
573 | /* Define to `int' if <sys/types.h> does not define. */
|
---|
574 | #define ssize_t int
|
---|
575 |
|
---|
576 | /* Define to `int' if <sys/types.h> doesn't define. */
|
---|
577 | #undef uid_t
|
---|
578 |
|
---|
579 | /* Define to unsigned long or unsigned long long if <stdint.h> and
|
---|
580 | <inttypes.h> don't define. */
|
---|
581 | #define uintmax_t unsigned long
|
---|
582 |
|
---|
583 | #if 0
|
---|
584 | #include <custom.h> /* overrides for stuff autoconf can't deal with */
|
---|
585 | #else
|
---|
586 |
|
---|
587 | /* Whether `time_t' is an unsigned type. */
|
---|
588 | #define TIME_T_UNSIGNED 1
|
---|
589 |
|
---|
590 | /*******************************/
|
---|
591 | /* Gawk configuration options. */
|
---|
592 | /*******************************/
|
---|
593 |
|
---|
594 | #define ALLOW_SWITCH 1
|
---|
595 |
|
---|
596 | /*
|
---|
597 | * DEFPATH
|
---|
598 | * VMS: "/AWK_LIBRARY" => "AWK_LIBRARY:"
|
---|
599 | * The default search path for the -f option of gawk. It is used
|
---|
600 | * if the AWKPATH environment variable is undefined.
|
---|
601 | *
|
---|
602 | * Note: OK even if no AWK_LIBRARY logical name has been defined.
|
---|
603 | */
|
---|
604 |
|
---|
605 | #define DEFPATH ".,/AWK_LIBRARY"
|
---|
606 | #define ENVSEP ','
|
---|
607 |
|
---|
608 | /*
|
---|
609 | * Extended source file access.
|
---|
610 | */
|
---|
611 | #define DEFAULT_FILETYPE ".awk"
|
---|
612 |
|
---|
613 | /*
|
---|
614 | * Pipe handling.
|
---|
615 | */
|
---|
616 | #define PIPES_SIMULATED 1
|
---|
617 |
|
---|
618 | /*
|
---|
619 | * VAXCRTL is pre-ANSI and does some variations of numeric formatting
|
---|
620 | * differently than gawk expects.
|
---|
621 | */
|
---|
622 | #if defined(VAX) && !defined(__DECC)
|
---|
623 | /* '0' format modifier for %e,%f,%g gives wrong results in many cases */
|
---|
624 | #define VAXCRTL
|
---|
625 | /* %g format chooses %e format when should use %f */
|
---|
626 | #define GFMT_WORKAROUND 1
|
---|
627 | #endif
|
---|
628 |
|
---|
629 | /*
|
---|
630 | * VAX C
|
---|
631 | *
|
---|
632 | * As of V3.2, VAX C is not yet ANSI-compliant. But it's close enough
|
---|
633 | * for GAWK's purposes. Comment this out for VAX C V2.4 and earlier.
|
---|
634 | * YYDEBUG definition is needed for combination of VAX C V2.x and Bison.
|
---|
635 | */
|
---|
636 | #if defined(VAXC) && !defined(__STDC__)
|
---|
637 | #define __STDC__ 0
|
---|
638 | #define NO_TOKEN_PASTING
|
---|
639 | #define signed /*empty*/
|
---|
640 | #define inline /*empty*/
|
---|
641 | #ifndef __DECC /* DEC C does not support #pragma builtins even in VAXC mode */
|
---|
642 | #define VAXC_BUILTINS
|
---|
643 | #endif
|
---|
644 | /* #define YYDEBUG 0 */
|
---|
645 | #define NO_MBSUPPORT /* VAX C's preprocessor can't handle mbsupport.h */
|
---|
646 | #define RE_TOKEN_INIT_BUG /* regcomp.c */
|
---|
647 | #endif
|
---|
648 |
|
---|
649 | /*
|
---|
650 | * DEC C
|
---|
651 | *
|
---|
652 | * Digital's ANSI complier.
|
---|
653 | */
|
---|
654 | #ifdef __DECC
|
---|
655 | /* DEC C implies DECC$SHR, which doesn't have the %g problem of VAXCRTL */
|
---|
656 | #undef GFMT_WORKAROUND
|
---|
657 | /* DEC C V5.x introduces incompatibilities with prior porting efforts */
|
---|
658 | #define _DECC_V4_SOURCE
|
---|
659 | #define __SOCKET_TYPEDEFS
|
---|
660 | #if __VMS_VER >= 60200000
|
---|
661 | # undef __VMS_VER
|
---|
662 | # define __VMS_VER 60100000
|
---|
663 | #endif
|
---|
664 | #if __CRTL_VER >= 60200000
|
---|
665 | # if __CRTL_VER >= 70301000
|
---|
666 | # define CRTL_VER_V731
|
---|
667 | # endif
|
---|
668 | # undef __CRTL_VER
|
---|
669 | # define __CRTL_VER 60100000
|
---|
670 | #endif
|
---|
671 | #if __DECC_VER >= 60400000 && !defined(DEBUG)
|
---|
672 | /* disable "new feature in C99" diagnostics (for regex code);
|
---|
673 | NEWC99 ought to suffice but doesn't (at least in V6.4) */
|
---|
674 | #pragma message disable (NEWC99,DESIGNATORUSE)
|
---|
675 | #endif
|
---|
676 | #endif /* __DECC */
|
---|
677 |
|
---|
678 | /*
|
---|
679 | * GNU C
|
---|
680 | *
|
---|
681 | * Versions of GCC (actually GAS) earlier than 1.38 don't produce the
|
---|
682 | * right code for ``extern const'' constructs, and other usages of
|
---|
683 | * const might not be right either. The old set of include files from
|
---|
684 | * the gcc-vms distribution did not contain prototypes, and this could
|
---|
685 | * provoke some const-related compiler warnings. If you've got an old
|
---|
686 | * version of gcc for VMS, define 'const' out of existance, and by all
|
---|
687 | * means obtain the most recent version!
|
---|
688 | *
|
---|
689 | * Note: old versions of GCC should also avoid defining STDC_HEADERS,
|
---|
690 | * because most of the ANSI-C required header files are missing.
|
---|
691 | */
|
---|
692 | #ifdef __GNUC__
|
---|
693 | /* #define const */
|
---|
694 | /* #undef STDC_HEADERS */
|
---|
695 | #ifndef STDC_HEADERS
|
---|
696 | #define alloca __builtin_alloca
|
---|
697 | #define environ $$PsectAttributes_NOSHR$$environ /* awful GAS kludge */
|
---|
698 | #endif
|
---|
699 | #undef REGEX_MALLOC /* use true alloca() in regex.c */
|
---|
700 | #endif
|
---|
701 |
|
---|
702 | #define IN_CONFIG_H
|
---|
703 | #include "vms/redirect.h"
|
---|
704 | #undef IN_CONFIG_H
|
---|
705 |
|
---|
706 | #endif /*<custom.h>*/
|
---|
707 |
|
---|
708 | #endif /*CONFIG_H*/
|
---|