1 /* config.h. Generated automatically by configure. */
2 /* configh.in. Generated automatically from configure.in by autoheader. */
4 * acconfig.h -- configuration definitions for gawk.
8 * $FreeBSD: src/gnu/usr.bin/awk/config.h,v 1.5.2.1 2001/01/23 22:09:01 asmodai Exp $
12 * Copyright (C) 1995-2000 the Free Software Foundation, Inc.
14 * This file is part of GAWK, the GNU implementation of the
15 * AWK Programming Language.
17 * GAWK is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * GAWK is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
33 /* Define if on AIX 3.
34 System headers sometimes define this.
35 We just want to avoid a redefinition error message. */
37 /* #undef _ALL_SOURCE */
40 /* Define if using alloca.c. */
43 /* Define if type char is unsigned and you are not using gcc. */
44 #ifndef __CHAR_UNSIGNED__
45 /* #undef __CHAR_UNSIGNED__ */
48 /* Define to empty if the keyword does not work. */
51 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
52 This function is required for alloca.c support on those systems. */
53 /* #undef CRAY_STACKSEG_END */
55 /* Define to the type of elements in the array set by `getgroups'.
56 Usually this is either `int' or `gid_t'. */
57 #define GETGROUPS_T gid_t
59 /* Define if the `getpgrp' function takes no argument. */
60 #define GETPGRP_VOID 1
62 /* Define to `int' if <sys/types.h> doesn't define. */
65 /* Define if you have alloca, as a function or macro. */
68 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
69 /* #undef HAVE_ALLOCA_H */
71 /* Define if you don't have vprintf but do have _doprnt. */
72 /* #undef HAVE_DOPRNT */
74 /* Define if you have a working `mmap' system call. */
77 /* Define if your struct stat has st_blksize. */
78 #define HAVE_ST_BLKSIZE 1
80 /* Define if you have the ANSI # stringizing operator in cpp. */
81 #define HAVE_STRINGIZE 1
83 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
84 #define HAVE_SYS_WAIT_H 1
86 /* Define if your struct tm has tm_zone. */
87 #define HAVE_TM_ZONE 1
89 /* Define if you don't have tm_zone but do have the external array
91 /* #undef HAVE_TZNAME */
93 /* Define if you have the vprintf function. */
94 #define HAVE_VPRINTF 1
96 /* Define if on MINIX. */
99 /* Define to `int' if <sys/types.h> doesn't define. */
102 /* Define if the system does not provide POSIX.1 features except
103 with this defined. */
104 /* #undef _POSIX_1_SOURCE */
106 /* Define if you need to in order for stat and other things to work. */
107 /* #undef _POSIX_SOURCE */
109 /* Define as the return type of signal handlers (int or void). */
110 #define RETSIGTYPE void
112 /* Define to `unsigned' if <sys/types.h> doesn't define. */
115 /* If using the C implementation of alloca, define if you know the
116 direction of stack growth for your system; otherwise it will be
117 automatically deduced at run-time.
118 STACK_DIRECTION > 0 => grows toward higher addresses
119 STACK_DIRECTION < 0 => grows toward lower addresses
120 STACK_DIRECTION = 0 => direction of growth unknown
122 /* #undef STACK_DIRECTION */
124 /* Define if you have the ANSI C header files. */
125 #define STDC_HEADERS 1
127 /* Define if you can safely include both <sys/time.h> and <time.h>. */
128 #define TIME_WITH_SYS_TIME 1
130 /* Define if your <sys/time.h> declares struct tm. */
131 /* #undef TM_IN_SYS_TIME */
133 /* Define to `int' if <sys/types.h> doesn't define. */
136 #define HAVE_STRINGIZE 1 /* can use ANSI # operator in cpp */
137 #define REGEX_MALLOC 1 /* use malloc instead of alloca in regex.c */
138 #define SPRINTF_RET int /* return type of sprintf */
139 /* #undef BITOPS */ /* bitwise ops (undocumented feature) */
140 /* #undef NONDECDATA */ /* non-decimal input data (undocumented feature) */
141 /* #undef _FILE_OFFSET_BITS */ /* bits in a file offset, where this matters */
142 /* #undef _LARGEFILE_SOURCE */ /* makes fseeko etc. visible on some hosts */
143 /* #undef _LARGE_FILES */ /* emables large files on AIX-style hosts */
145 /* Define if you have the fmod function. */
148 /* Define if you have the getpagesize function. */
149 #define HAVE_GETPAGESIZE 1
151 /* Define if you have the madvise function. */
152 #define HAVE_MADVISE 1
154 /* Define if you have the memcmp function. */
155 #define HAVE_MEMCMP 1
157 /* Define if you have the memcpy function. */
158 #define HAVE_MEMCPY 1
160 /* Define if you have the memset function. */
161 #define HAVE_MEMSET 1
163 /* Define if you have the setlocale function. */
164 #define HAVE_SETLOCALE 1
166 /* Define if you have the strchr function. */
167 #define HAVE_STRCHR 1
169 /* Define if you have the strerror function. */
170 #define HAVE_STRERROR 1
172 /* Define if you have the strftime function. */
173 #define HAVE_STRFTIME 1
175 /* Define if you have the strncasecmp function. */
176 #define HAVE_STRNCASECMP 1
178 /* Define if you have the strtod function. */
179 #define HAVE_STRTOD 1
181 /* Define if you have the system function. */
182 #define HAVE_SYSTEM 1
184 /* Define if you have the tzset function. */
187 /* Define if you have the <limits.h> header file. */
188 #define HAVE_LIMITS_H 1
190 /* Define if you have the <locale.h> header file. */
191 #define HAVE_LOCALE_H 1
193 /* Define if you have the <memory.h> header file. */
194 #define HAVE_MEMORY_H 1
196 /* Define if you have the <signum.h> header file. */
197 /* #undef HAVE_SIGNUM_H */
199 /* Define if you have the <stdarg.h> header file. */
200 #define HAVE_STDARG_H 1
202 /* Define if you have the <string.h> header file. */
203 #define HAVE_STRING_H 1
205 /* Define if you have the <strings.h> header file. */
206 /* #undef HAVE_STRINGS_H */
208 /* Define if you have the <sys/param.h> header file. */
209 #define HAVE_SYS_PARAM_H 1
211 /* Define if you have the <unistd.h> header file. */
212 #define HAVE_UNISTD_H 1
214 /* Define if you have the m library (-lm). */
217 /* Number of bits in a file offset, on hosts where this is settable. */
218 /* #undef _FILE_OFFSET_BITS */
220 /* Define to make ftello visible on some hosts (e.g. HP-UX 10.20). */
221 /* #undef _LARGEFILE_SOURCE */
223 /* Define for large files, on AIX-style hosts. */
224 /* #undef _LARGE_FILES */
226 /* Define to make ftello visible on some hosts (e.g. glibc 2.1.3). */
227 /* #undef _XOPEN_SOURCE */
230 #include <custom.h> /* overrides for stuff autoconf can't deal with */