1/* config.h.  Generated by configure.  */
2/* configh.in.  Generated from configure.ac by autoheader.  */
3
4/* switch statements are enabled in awk programs */
5/* #undef ALLOW_SWITCH */
6
7/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
8   systems. This function is required for `alloca.c' support on those systems.
9   */
10/* #undef CRAY_STACKSEG_END */
11
12/* Define to 1 if using `alloca.c'. */
13/* #undef C_ALLOCA */
14
15/* dynamic loading is possible */
16/* #undef DYNAMIC */
17
18/* Define to 1 if translation of program messages to the user's native
19   language is requested. */
20#define ENABLE_NLS 1
21
22/* Define to the type of elements in the array set by `getgroups'. Usually
23   this is either `int' or `gid_t'. */
24#define GETGROUPS_T gid_t
25
26/* Define to 1 if the `getpgrp' function requires zero arguments. */
27#define GETPGRP_VOID 1
28
29/* Define to 1 if you have the `alarm' function. */
30#define HAVE_ALARM 1
31
32/* Define to 1 if you have `alloca', as a function or macro. */
33#define HAVE_ALLOCA 1
34
35/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
36   */
37#define HAVE_ALLOCA_H 1
38
39/* Define to 1 if you have the <argz.h> header file. */
40/* #undef HAVE_ARGZ_H */
41
42/* Define if the GNU dcgettext() function is already present or preinstalled.
43   */
44/* #undef HAVE_DCGETTEXT */
45
46/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
47#define HAVE_DOPRNT 1
48
49/* Define to 1 if you have the <fcntl.h> header file. */
50#define HAVE_FCNTL_H 1
51
52/* Define to 1 if you have the `feof_unlocked' function. */
53//#define HAVE_FEOF_UNLOCKED 1
54
55/* Define to 1 if you have the `fgets_unlocked' function. */
56#define HAVE_FGETS_UNLOCKED 1
57
58/* Define to 1 if you have the `fmod' function. */
59#define HAVE_FMOD 1
60
61/* Define to 1 if you have the `getcwd' function. */
62#define HAVE_GETCWD 1
63
64/* Define to 1 if you have the `getc_unlocked' function. */
65#define HAVE_GETC_UNLOCKED 1
66
67/* Define to 1 if you have the `getegid' function. */
68#define HAVE_GETEGID 1
69
70/* Define to 1 if you have the `geteuid' function. */
71#define HAVE_GETEUID 1
72
73/* Define to 1 if you have the `getgid' function. */
74#define HAVE_GETGID 1
75
76/* Define to 1 if you have the `getgrent' function. */
77#define HAVE_GETGRENT 1
78
79/* Define to 1 if you have the `getgroups' function. */
80#define HAVE_GETGROUPS 1
81
82/* Define to 1 if you have the `getpagesize' function. */
83#define HAVE_GETPAGESIZE 1
84
85/* Define if the GNU gettext() function is already present or preinstalled. */
86/* #undef HAVE_GETTEXT */
87
88/* Define to 1 if you have the `getuid' function. */
89#define HAVE_GETUID 1
90
91/* Define to 1 if you have the `grantpt' function. */
92//#define HAVE_GRANTPT 1
93
94/* Define if you have the iconv() function. */
95/* #undef HAVE_ICONV */
96
97/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
98#define HAVE_INTTYPES_H 1
99
100/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
101/* #undef HAVE_LANGINFO_CODESET */
102
103/* Define if your <locale.h> file defines LC_MESSAGES. */
104#define HAVE_LC_MESSAGES 1
105
106/* Define to 1 if you have the `dl' library (-ldl). */
107/* #undef HAVE_LIBDL */
108
109/* Define to 1 if you have the <libintl.h> header file. */
110/* #undef HAVE_LIBINTL_H */
111
112/* Define to 1 if you have the `m' library (-lm). */
113/* #undef HAVE_LIBM */
114
115/* Define to 1 if you have the <limits.h> header file. */
116#define HAVE_LIMITS_H 1
117
118/* Define to 1 if you have the <locale.h> header file. */
119#define HAVE_LOCALE_H 1
120
121/* Define if you have the long long type. */
122#define HAVE_LONG_LONG 1
123
124/* Define to 1 if you have the <malloc.h> header file. */
125#define HAVE_MALLOC_H 1
126
127/* Define to 1 if you have the `mbrlen' function. */
128#define HAVE_MBRLEN 1
129
130/* Define to 1 if you have the `mbrtowc' function. */
131#define HAVE_MBRTOWC 1
132
133/* Define to 1 if you have the <mcheck.h> header file. */
134/* #undef HAVE_MCHECK_H */
135
136/* Define to 1 if you have the `memcmp' function. */
137#define HAVE_MEMCMP 1
138
139/* Define to 1 if you have the `memcpy' function. */
140#define HAVE_MEMCPY 1
141
142/* Define to 1 if you have the <memory.h> header file. */
143#define HAVE_MEMORY_H 1
144
145/* Define to 1 if you have the `mempcpy' function. */
146//#define HAVE_MEMPCPY 1
147
148/* Define to 1 if you have the `memset' function. */
149#define HAVE_MEMSET 1
150
151/* we have the mktime function */
152#define HAVE_MKTIME 1
153
154/* Define to 1 if you have a working `mmap' system call. */
155/* #undef HAVE_MMAP */
156
157/* Define to 1 if you have the `munmap' function. */
158#define HAVE_MUNMAP 1
159
160/* Define to 1 if you have the <netdb.h> header file. */
161#define HAVE_NETDB_H 1
162
163/* Define to 1 if you have the <netinet/in.h> header file. */
164#define HAVE_NETINET_IN_H 1
165
166/* Define to 1 if you have the <nl_types.h> header file. */
167/* #undef HAVE_NL_TYPES_H */
168
169/* we have portals on /p on this system */
170/* #undef HAVE_PORTALS */
171
172/* Define to 1 if you have the `putenv' function. */
173#define HAVE_PUTENV 1
174
175/* Define to 1 if you have the `setenv' function. */
176#define HAVE_SETENV 1
177
178/* Define to 1 if you have the `setlocale' function. */
179#define HAVE_SETLOCALE 1
180
181/* Define to 1 if you have the <signum.h> header file. */
182/* #undef HAVE_SIGNUM_H */
183
184/* Define to 1 if you have the `snprintf' function. */
185#define HAVE_SNPRINTF 1
186
187/* we have sockets on this system */
188//#define HAVE_SOCKETS 1
189
190/* Define to 1 if you have the <stdarg.h> header file. */
191#define HAVE_STDARG_H 1
192
193/* Define to 1 if you have the <stddef.h> header file. */
194#define HAVE_STDDEF_H 1
195
196/* Define to 1 if you have the <stdint.h> header file. */
197/* #undef HAVE_STDINT_H */
198
199/* Define to 1 if you have the <stdlib.h> header file. */
200#define HAVE_STDLIB_H 1
201
202/* Define to 1 if you have the `stpcpy' function. */
203#define HAVE_STPCPY 1
204
205/* Define to 1 if you have the `strcasecmp' function. */
206#define HAVE_STRCASECMP 1
207
208/* Define to 1 if you have the `strchr' function. */
209#define HAVE_STRCHR 1
210
211/* Define to 1 if you have the `strdup' function. */
212#define HAVE_STRDUP 1
213
214/* Define to 1 if you have the `strerror' function. */
215#define HAVE_STRERROR 1
216
217/* Define to 1 if you have the `strftime' function. */
218#define HAVE_STRFTIME 1
219
220/* Define to 1 if cpp supports the ANSI # stringizing operator. */
221#define HAVE_STRINGIZE 1
222
223/* Define to 1 if you have the <strings.h> header file. */
224#define HAVE_STRINGS_H 1
225
226/* Define to 1 if you have the <string.h> header file. */
227#define HAVE_STRING_H 1
228
229/* Define to 1 if you have the `strncasecmp' function. */
230#define HAVE_STRNCASECMP 1
231
232/* Define to 1 if you have the <stropts.h> header file. */
233/* #undef HAVE_STROPTS_H */
234
235/* Define to 1 if you have the `strtod' function. */
236#define HAVE_STRTOD 1
237
238/* Define to 1 if you have the `strtoul' function. */
239#define HAVE_STRTOUL 1
240
241/* Define to 1 if `st_blksize' is member of `struct stat'. */
242#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
243
244/* Define to 1 if `tm_zone' is member of `struct tm'. */
245#define HAVE_STRUCT_TM_TM_ZONE 1
246
247/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
248   `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
249#define HAVE_ST_BLKSIZE 1
250
251/* Define to 1 if you have the `system' function. */
252#define HAVE_SYSTEM 1
253
254/* Define to 1 if you have the <sys/param.h> header file. */
255#define HAVE_SYS_PARAM_H 1
256
257/* Define to 1 if you have the <sys/socket.h> header file. */
258#define HAVE_SYS_SOCKET_H 1
259
260/* Define to 1 if you have the <sys/stat.h> header file. */
261#define HAVE_SYS_STAT_H 1
262
263/* Define to 1 if you have the <sys/time.h> header file. */
264#define HAVE_SYS_TIME_H 1
265
266/* Define to 1 if you have the <sys/types.h> header file. */
267#define HAVE_SYS_TYPES_H 1
268
269/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
270#define HAVE_SYS_WAIT_H 1
271
272/* Define to 1 if you have the <termios.h> header file. */
273#define HAVE_TERMIOS_H 1
274
275/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
276   `HAVE_STRUCT_TM_TM_ZONE' instead. */
277#define HAVE_TM_ZONE 1
278
279/* Define to 1 if you have the `tsearch' function. */
280//#define HAVE_TSEARCH 1
281
282/* Define to 1 if you don't have `tm_zone' but do have the external array
283   `tzname'. */
284/* #undef HAVE_TZNAME */
285
286/* Define to 1 if you have the `tzset' function. */
287#define HAVE_TZSET 1
288
289/* Define to 1 if you have the <unistd.h> header file. */
290#define HAVE_UNISTD_H 1
291
292/* Define if you have the unsigned long long type. */
293#define HAVE_UNSIGNED_LONG_LONG 1
294
295/* Define to 1 if you have the `vprintf' function. */
296#define HAVE_VPRINTF 1
297
298/* Define to 1 if you have the <wchar.h> header file. */
299#define HAVE_WCHAR_H 1
300
301/* Define to 1 if you have the `wcrtomb' function. */
302#define HAVE_WCRTOMB 1
303
304/* Define to 1 if you have the `wcscoll' function. */
305#define HAVE_WCSCOLL 1
306
307/* Define to 1 if you have the <wctype.h> header file. */
308/* #undef HAVE_WCTYPE_H */
309
310/* Define to 1 if you have the `__argz_count' function. */
311//#define HAVE___ARGZ_COUNT 1
312
313/* Define to 1 if you have the `__argz_next' function. */
314//#define HAVE___ARGZ_NEXT 1
315
316/* Define to 1 if you have the `__argz_stringify' function. */
317//#define HAVE___ARGZ_STRINGIFY 1
318
319/* Define to 1 if you have the `__fsetlocking' function. */
320//#define HAVE___FSETLOCKING 1
321
322/* Define as const if the declaration of iconv() needs const. */
323/* #undef ICONV_CONST */
324
325/* Define if integer division by zero raises signal SIGFPE. */
326#define INTDIV0_RAISES_SIGFPE 1
327
328/* disable lint checks */
329/* #undef NO_LINT */
330
331/* Name of package */
332#define PACKAGE "gawk"
333
334/* Define to the address where bug reports for this package should be sent. */
335#define PACKAGE_BUGREPORT "bug-gawk@gnu.org"
336
337/* Define to the full name of this package. */
338#define PACKAGE_NAME "GNU Awk"
339
340/* Define to the full name and version of this package. */
341#define PACKAGE_STRING "GNU Awk 3.1.3"
342
343/* Define to the one symbol short name of this package. */
344#define PACKAGE_TARNAME "gawk"
345
346/* Define to the version of this package. */
347#define PACKAGE_VERSION "3.1.3"
348
349/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
350/* #undef PRI_MACROS_BROKEN */
351
352/* Define if compiler has function prototypes */
353#define PROTOTYPES 1
354
355/* use malloc instead of alloca in regex.c */
356#define REGEX_MALLOC 1
357
358/* Define as the return type of signal handlers (`int' or `void'). */
359#define RETSIGTYPE void
360
361/* return type of sprintf */
362#define SPRINTF_RET int
363
364/* If using the C implementation of alloca, define if you know the
365   direction of stack growth for your system; otherwise it will be
366   automatically deduced at run-time.
367        STACK_DIRECTION > 0 => grows toward higher addresses
368        STACK_DIRECTION < 0 => grows toward lower addresses
369        STACK_DIRECTION = 0 => direction of growth unknown */
370/* #undef STACK_DIRECTION */
371
372/* Define to 1 if you have the ANSI C header files. */
373#define STDC_HEADERS 1
374
375/* strtod doesn't have C89 semantics */
376#define STRTOD_NOT_C89 1
377
378/* some systems define this type here */
379#define TIME_T_IN_SYS_TYPES_H 1
380
381/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
382#define TIME_WITH_SYS_TIME 1
383
384/* Define to 1 if your <sys/time.h> declares `struct tm'. */
385/* #undef TM_IN_SYS_TIME */
386
387/* force use of our version of strftime */
388/* #undef USE_INCLUDED_STRFTIME */
389
390/* Version number of package */
391#define VERSION "3.1.3"
392
393/* Define to 1 if on AIX 3.
394   System headers sometimes define this.
395   We just want to avoid a redefinition error message.  */
396#ifndef _ALL_SOURCE
397/* # undef _ALL_SOURCE */
398#endif
399
400/* Number of bits in a file offset, on hosts where this is settable. */
401/* #undef _FILE_OFFSET_BITS */
402
403/* Define for large files, on AIX-style hosts. */
404/* #undef _LARGE_FILES */
405
406/* Define to 1 if on MINIX. */
407/* #undef _MINIX */
408
409/* Define to 2 if the system does not provide POSIX.1 features except with
410   this defined. */
411/* #undef _POSIX_1_SOURCE */
412
413/* Define to 1 if you need to in order for `stat' and other things to work. */
414/* #undef _POSIX_SOURCE */
415
416/* Define to 1 if type `char' is unsigned and you are not using gcc.  */
417#ifndef __CHAR_UNSIGNED__
418/* # undef __CHAR_UNSIGNED__ */
419#endif
420
421/* Define to empty if `const' does not conform to ANSI C. */
422/* #undef const */
423
424/* Define to `int' if <sys/types.h> doesn't define. */
425/* #undef gid_t */
426
427/* Define as `__inline' if that's what the C compiler calls it, or to nothing
428   if it is not supported. */
429/* #undef inline */
430
431/* Define to widest signed type if <inttypes.h> doesn't define. */
432/* #undef intmax_t */
433
434/* Define to `long' if <sys/types.h> does not define. */
435/* #undef off_t */
436
437/* Define to `int' if <sys/types.h> does not define. */
438/* #undef pid_t */
439
440/* Define to `unsigned' if <sys/types.h> does not define. */
441/* #undef size_t */
442
443/* Define to `int' if <sys/types.h> does not define. */
444/* #undef ssize_t */
445
446/* Define to `int' if <sys/types.h> doesn't define. */
447/* #undef uid_t */
448
449/* Define to widest unsigned type if <inttypes.h> doesn't define. */
450/* #undef uintmax_t */
451/*
452 * custom.h
453 *
454 * This file is for use on systems where Autoconf isn't quite able to
455 * get things right. It is appended to the bottom of config.h by configure,
456 * in order to override definitions from Autoconf that are erroneous. See
457 * the manual for more information.
458 *
459 * If you make additions to this file for your system, please send me
460 * the information, to arnold@skeeve.com.
461 */
462
463/*
464 * Copyright (C) 1995-2003 the Free Software Foundation, Inc.
465 *
466 * This file is part of GAWK, the GNU implementation of the
467 * AWK Programming Language.
468 *
469 * GAWK is free software; you can redistribute it and/or modify
470 * it under the terms of the GNU General Public License as published by
471 * the Free Software Foundation; either version 2 of the License, or
472 * (at your option) any later version.
473 *
474 * GAWK is distributed in the hope that it will be useful,
475 * but WITHOUT ANY WARRANTY; without even the implied warranty of
476 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
477 * GNU General Public License for more details.
478 *
479 * You should have received a copy of the GNU General Public License
480 * along with this program; if not, write to the Free Software
481 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
482 */
483
484/* for MIPS RiscOS, from Nelson H. F. Beebe, beebe@math.utah.edu */
485#if defined(__host_mips) && defined(SYSTYPE_BSD43)
486#undef HAVE_STRTOD
487#undef HAVE_STRERROR
488#endif
489
490/* for VMS POSIX, from Pat Rankin, rankin@pactechdata.com */
491#ifdef VMS_POSIX
492#undef VMS
493#include "vms/redirect.h"
494#endif
495
496/* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */
497#ifdef __QNX__
498#define GETPGRP_VOID	1
499#endif
500
501/* For Amigas, from Fred Fish, fnf@ninemoons.com */
502#ifdef __amigaos__
503#define fork vfork
504#endif
505
506/* For BeOS, from mc@whoever.com */
507#if defined(__dest_os) && __dest_os == __be_os
508#define BROKEN_STRNCASECMP
509#define ELIDE_CODE
510#include <alloca.h>
511#endif
512
513/* For Tandems, based on code from scldad@sdc.com.au */
514#ifdef TANDEM
515#define tempnam(a,b)      tmpnam(NULL)
516#define variable(a,b,c)   variabl(a,b,c)
517#define srandom srand
518#define random rand
519
520#include <cextdecs(PROCESS_GETINFO_)>
521#endif
522
523/* For 16-bit DOS */
524#if defined(MSC_VER) && defined(MSDOS)
525#define NO_PROFILING	1
526#endif
527
528/* For MacOS X, which is almost BSD Unix */
529#ifdef __APPLE__
530#define HAVE_MKTIME	1
531#endif
532
533#ifdef __WIN32__
534#undef HAVE_STRFTIME
535/* #define system(s) os_system(s) */
536#endif
537
538/* For ULTRIX 4.3 */
539#ifdef ultrix
540#define HAVE_MKTIME     1
541#define GETGROUPS_NOT_STANDARD	1
542#endif
543
544/* For whiny users */
545#ifdef USE_INCLUDED_STRFTIME
546#undef HAVE_STRFTIME
547#endif
548
549/* For HP/UX with gcc */
550#if defined(hpux) || defined(_HPUX_SOURCE)
551#undef HAVE_TZSET
552#define HAVE_TZSET 1
553#define _TZSET 1
554#endif
555