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 $
9 * $DragonFly: src/gnu/usr.bin/awk/Attic/config.h,v 1.2 2003/06/17 04:25:44 dillon Exp $
13 * Copyright (C) 1995-2000 the Free Software Foundation, Inc.
15 * This file is part of GAWK, the GNU implementation of the
16 * AWK Programming Language.
18 * GAWK is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation; either version 2 of the License, or
21 * (at your option) any later version.
23 * GAWK is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program; if not, write to the Free Software
30 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
34 /* Define if on AIX 3.
35 System headers sometimes define this.
36 We just want to avoid a redefinition error message. */
38 /* #undef _ALL_SOURCE */
41 /* Define if using alloca.c. */
44 /* Define if type char is unsigned and you are not using gcc. */
45 #ifndef __CHAR_UNSIGNED__
46 /* #undef __CHAR_UNSIGNED__ */
49 /* Define to empty if the keyword does not work. */
52 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
53 This function is required for alloca.c support on those systems. */
54 /* #undef CRAY_STACKSEG_END */
56 /* Define to the type of elements in the array set by `getgroups'.
57 Usually this is either `int' or `gid_t'. */
58 #define GETGROUPS_T gid_t
60 /* Define if the `getpgrp' function takes no argument. */
61 #define GETPGRP_VOID 1
63 /* Define to `int' if <sys/types.h> doesn't define. */
66 /* Define if you have alloca, as a function or macro. */
69 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
70 /* #undef HAVE_ALLOCA_H */
72 /* Define if you don't have vprintf but do have _doprnt. */
73 /* #undef HAVE_DOPRNT */
75 /* Define if you have a working `mmap' system call. */
78 /* Define if your struct stat has st_blksize. */
79 #define HAVE_ST_BLKSIZE 1
81 /* Define if you have the ANSI # stringizing operator in cpp. */
82 #define HAVE_STRINGIZE 1
84 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
85 #define HAVE_SYS_WAIT_H 1
87 /* Define if your struct tm has tm_zone. */
88 #define HAVE_TM_ZONE 1
90 /* Define if you don't have tm_zone but do have the external array
92 /* #undef HAVE_TZNAME */
94 /* Define if you have the vprintf function. */
95 #define HAVE_VPRINTF 1
97 /* Define if on MINIX. */
100 /* Define to `int' if <sys/types.h> doesn't define. */
103 /* Define if the system does not provide POSIX.1 features except
104 with this defined. */
105 /* #undef _POSIX_1_SOURCE */
107 /* Define if you need to in order for stat and other things to work. */
108 /* #undef _POSIX_SOURCE */
110 /* Define as the return type of signal handlers (int or void). */
111 #define RETSIGTYPE void
113 /* Define to `unsigned' if <sys/types.h> doesn't define. */
116 /* If using the C implementation of alloca, define if you know the
117 direction of stack growth for your system; otherwise it will be
118 automatically deduced at run-time.
119 STACK_DIRECTION > 0 => grows toward higher addresses
120 STACK_DIRECTION < 0 => grows toward lower addresses
121 STACK_DIRECTION = 0 => direction of growth unknown
123 /* #undef STACK_DIRECTION */
125 /* Define if you have the ANSI C header files. */
126 #define STDC_HEADERS 1
128 /* Define if you can safely include both <sys/time.h> and <time.h>. */
129 #define TIME_WITH_SYS_TIME 1
131 /* Define if your <sys/time.h> declares struct tm. */
132 /* #undef TM_IN_SYS_TIME */
134 /* Define to `int' if <sys/types.h> doesn't define. */
137 #define HAVE_STRINGIZE 1 /* can use ANSI # operator in cpp */
138 #define REGEX_MALLOC 1 /* use malloc instead of alloca in regex.c */
139 #define SPRINTF_RET int /* return type of sprintf */
140 /* #undef BITOPS */ /* bitwise ops (undocumented feature) */
141 /* #undef NONDECDATA */ /* non-decimal input data (undocumented feature) */
142 /* #undef _FILE_OFFSET_BITS */ /* bits in a file offset, where this matters */
143 /* #undef _LARGEFILE_SOURCE */ /* makes fseeko etc. visible on some hosts */
144 /* #undef _LARGE_FILES */ /* emables large files on AIX-style hosts */
146 /* Define if you have the fmod function. */
149 /* Define if you have the getpagesize function. */
150 #define HAVE_GETPAGESIZE 1
152 /* Define if you have the madvise function. */
153 #define HAVE_MADVISE 1
155 /* Define if you have the memcmp function. */
156 #define HAVE_MEMCMP 1
158 /* Define if you have the memcpy function. */
159 #define HAVE_MEMCPY 1
161 /* Define if you have the memset function. */
162 #define HAVE_MEMSET 1
164 /* Define if you have the setlocale function. */
165 #define HAVE_SETLOCALE 1
167 /* Define if you have the strchr function. */
168 #define HAVE_STRCHR 1
170 /* Define if you have the strerror function. */
171 #define HAVE_STRERROR 1
173 /* Define if you have the strftime function. */
174 #define HAVE_STRFTIME 1
176 /* Define if you have the strncasecmp function. */
177 #define HAVE_STRNCASECMP 1
179 /* Define if you have the strtod function. */
180 #define HAVE_STRTOD 1
182 /* Define if you have the system function. */
183 #define HAVE_SYSTEM 1
185 /* Define if you have the tzset function. */
188 /* Define if you have the <limits.h> header file. */
189 #define HAVE_LIMITS_H 1
191 /* Define if you have the <locale.h> header file. */
192 #define HAVE_LOCALE_H 1
194 /* Define if you have the <memory.h> header file. */
195 #define HAVE_MEMORY_H 1
197 /* Define if you have the <signum.h> header file. */
198 /* #undef HAVE_SIGNUM_H */
200 /* Define if you have the <stdarg.h> header file. */
201 #define HAVE_STDARG_H 1
203 /* Define if you have the <string.h> header file. */
204 #define HAVE_STRING_H 1
206 /* Define if you have the <strings.h> header file. */
207 /* #undef HAVE_STRINGS_H */
209 /* Define if you have the <sys/param.h> header file. */
210 #define HAVE_SYS_PARAM_H 1
212 /* Define if you have the <unistd.h> header file. */
213 #define HAVE_UNISTD_H 1
215 /* Define if you have the m library (-lm). */
218 /* Number of bits in a file offset, on hosts where this is settable. */
219 /* #undef _FILE_OFFSET_BITS */
221 /* Define to make ftello visible on some hosts (e.g. HP-UX 10.20). */
222 /* #undef _LARGEFILE_SOURCE */
224 /* Define for large files, on AIX-style hosts. */
225 /* #undef _LARGE_FILES */
227 /* Define to make ftello visible on some hosts (e.g. glibc 2.1.3). */
228 /* #undef _XOPEN_SOURCE */
231 #include <custom.h> /* overrides for stuff autoconf can't deal with */