source: trunk/essentials/sys-apps/gawk/pc/config.h

Last change on this file was 3076, checked in by bird, 18 years ago

gawk 3.1.5

File size: 10.7 KB
Line 
1/* config.h. Generated automatically by configure. */
2/* config.h.in. Generated automatically from configure.in by autoheader. */
3/*
4 * acconfig.h -- configuration definitions for gawk.
5 */
6
7/*
8 * Copyright (C) 1995-2005 the Free Software Foundation, Inc.
9 *
10 * This file is part of GAWK, the GNU implementation of the
11 * AWK Programming Language.
12 *
13 * GAWK is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * GAWK is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26 */
27
28
29/* Define if on AIX 3.
30 System headers sometimes define this.
31 We just want to avoid a redefinition error message. */
32#ifndef _ALL_SOURCE
33/* #undef _ALL_SOURCE */
34#endif
35
36/* Define if using alloca.c. */
37/* #undef C_ALLOCA */
38
39/* Define if type char is unsigned and you are not using gcc. */
40#ifndef __CHAR_UNSIGNED__
41/* #undef __CHAR_UNSIGNED__ */
42#endif
43
44/* Define to empty if the keyword does not work. */
45/* #undef const */
46
47/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
48 This function is required for alloca.c support on those systems. */
49/* #undef CRAY_STACKSEG_END */
50
51/* Define to the type of elements in the array set by `getgroups'.
52 Usually this is either `int' or `gid_t'. */
53#define GETGROUPS_T gid_t
54
55/* Define if the `getpgrp' function takes no argument. */
56#define GETPGRP_VOID 1
57
58/* Define to `int' if <sys/types.h> doesn't define. */
59/* #undef gid_t */
60
61/* Define if you have alloca, as a function or macro. */
62#define HAVE_ALLOCA 1
63
64/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
65/* #undef HAVE_ALLOCA_H */
66
67/* Define if you don't have vprintf but do have _doprnt. */
68/* #undef HAVE_DOPRNT */
69
70/* Define if you have a working `mmap' system call. */
71/* #undef HAVE_MMAP */
72
73/* Define if your struct stat has st_blksize. */
74#define HAVE_ST_BLKSIZE 1
75
76/* Define if you have the ANSI # stringizing operator in cpp. */
77#define HAVE_STRINGIZE 1
78
79/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
80/* #undef HAVE_SYS_WAIT_H */
81
82/* Define if your struct tm has tm_zone. */
83/* #undef HAVE_TM_ZONE */
84
85/* Define if you don't have tm_zone but do have the external array
86 tzname. */
87#define HAVE_TZNAME 1
88
89/* Define if you have the vprintf function. */
90#define HAVE_VPRINTF 1
91
92/* Define as __inline if that's what the C compiler calls it. */
93#if defined (_MSC_VER)
94#define inline
95#endif
96
97/* Define if on MINIX. */
98/* #undef _MINIX */
99
100/* Define to `long' if <sys/types.h> doesn't define. */
101/* #undef off_t */
102
103/* Define to `int' if <sys/types.h> doesn't define. */
104/* #undef pid_t */
105
106/* Define if the system does not provide POSIX.1 features except
107 with this defined. */
108/* #undef _POSIX_1_SOURCE */
109
110/* Define if you need to in order for stat and other things to work. */
111/* #undef _POSIX_SOURCE */
112
113/* Define as the return type of signal handlers (int or void). */
114#define RETSIGTYPE void
115
116/* Define to `unsigned' if <sys/types.h> doesn't define. */
117/* #undef size_t */
118
119/* If using the C implementation of alloca, define if you know the
120 direction of stack growth for your system; otherwise it will be
121 automatically deduced at run-time.
122 STACK_DIRECTION > 0 => grows toward higher addresses
123 STACK_DIRECTION < 0 => grows toward lower addresses
124 STACK_DIRECTION = 0 => direction of growth unknown
125 */
126/* #undef STACK_DIRECTION */
127
128/* Define if you have the ANSI C header files. */
129#define STDC_HEADERS 1
130
131/* Define if you can safely include both <sys/time.h> and <time.h>. */
132#define TIME_WITH_SYS_TIME 1
133
134/* Define if your <sys/time.h> declares struct tm. */
135/* #undef TM_IN_SYS_TIME */
136
137/* Define to `int' if <sys/types.h> doesn't define. */
138/* #undef uid_t */
139
140#define REGEX_MALLOC 1 /* use malloc instead of alloca in regex.c */
141#define SPRINTF_RET int /* return type of sprintf */
142/* #undef HAVE_MKTIME */ /* we have the mktime function */
143/* #undef HAVE_SOCKETS */ /* we have sockets on this system */
144/* #undef HAVE_PORTALS */ /* we have portals on /p on this system */
145/* #undef DYNAMIC */ /* allow dynamic addition of builtins */
146/* #undef STRTOD_NOT_C89 */ /* strtod doesn't have C89 semantics */
147
148/* Define if you have the __argz_count function. */
149#define HAVE___ARGZ_COUNT 1
150
151/* Define if you have the __argz_next function. */
152#define HAVE___ARGZ_NEXT 1
153
154/* Define if you have the __argz_stringify function. */
155#define HAVE___ARGZ_STRINGIFY 1
156
157/* Define if you have the alarm function. */
158#define HAVE_ALARM 1
159
160/* Define if you have the dcgettext function. */
161/* #undef HAVE_DCGETTEXT */
162
163/* Define if you have the fmod function. */
164#define HAVE_FMOD 1
165
166/* Define if you have the getcwd function. */
167/* #undef HAVE_GETCWD */
168
169/* Define if you have the getpagesize function. */
170/* #undef HAVE_GETPAGESIZE */
171
172/* Define if you have the memcmp function. */
173#define HAVE_MEMCMP 1
174
175/* Define if you have the memcpy function. */
176#define HAVE_MEMCPY 1
177
178/* Define if you have the memset function. */
179#define HAVE_MEMSET 1
180
181/* Define if you have the munmap function. */
182/* #undef HAVE_MUNMAP */
183
184/* Define if you have the putenv function. */
185/* #undef HAVE_PUTENV */
186
187/* Define if you have the setenv function. */
188/* #define HAVE_SETENV */
189
190/* Define if you have the setlocale function. */
191/* #undef HAVE_SETLOCALE */
192
193/* Define if you have the stpcpy function. */
194/* #undef HAVE_STPCPY */
195
196/* Define if you have the strcasecmp function. */
197/* #undef HAVE_STRCASECMP */
198
199/* Define if you have the strchr function. */
200#define HAVE_STRCHR 1
201
202/* Define if you have the strdup function. */
203#define HAVE_STRDUP 1
204
205/* Define if you have the strerror function. */
206#define HAVE_STRERROR 1
207
208/* Define if you have the strftime function. */
209#define HAVE_STRFTIME 1
210
211/* Define if you have the strncasecmp function. */
212#define HAVE_STRNCASECMP 1
213
214/* Define if you have the strtod function. */
215#define HAVE_STRTOD 1
216
217/* Define if you have the system function. */
218#define HAVE_SYSTEM 1
219
220/* Define if you have the tzset function. */
221#define HAVE_TZSET 1
222
223/* Define if you have the <argz.h> header file. */
224/* #undef HAVE_ARGZ_H */
225
226/* Define if you have the <fcntl.h> header file. */
227#define HAVE_FCNTL_H 1
228
229/* Define if you have the <libintl.h> header file. */
230/* #undef HAVE_LIBINTL_H */
231
232/* Define if you have the <limits.h> header file. */
233#define HAVE_LIMITS_H 1
234
235/* Define if you have the <locale.h> header file. */
236/* #undef HAVE_LOCALE_H */
237
238/* Define if you have the <malloc.h> header file. */
239/* #undef HAVE_MALLOC_H */
240
241/* Define if you have the <memory.h> header file. */
242#define HAVE_MEMORY_H 1
243
244/* Define if you have the <netdb.h> header file. */
245/* #undef HAVE_NETDB_H */
246
247/* Define if you have the <netinet/in.h> header file. */
248/* #undef HAVE_NETINET_IN_H */
249
250/* Define if you have the <nl_types.h> header file. */
251/* #undef HAVE_NL_TYPES_H */
252
253/* Define if you have the <signum.h> header file. */
254/* #undef HAVE_SIGNUM_H */
255
256/* Define if you have the <stdarg.h> header file. */
257#define HAVE_STDARG_H 1
258
259/* Define if you have the <stdlib.h> header file. */
260/* #undef HAVE_STDLIB_H */
261
262/* Define if you have the <string.h> header file. */
263#define HAVE_STRING_H 1
264
265/* Define if you have the <strings.h> header file. */
266/* #undef HAVE_STRINGS_H */
267
268/* Define if you have the <sys/param.h> header file. */
269#define HAVE_SYS_PARAM_H 1
270
271/* Define if you have the <sys/socket.h> header file. */
272/* #undef HAVE_SYS_SOCKET_H */
273
274/* Define if you have the <sys/time.h> header file. */
275#if defined(DJGPP)
276# define HAVE_SYS_TIME_H 1
277#endif
278
279/* Define to 1 if you have the <sys/types.h> header file. */
280#define HAVE_SYS_TYPES_H 1
281
282/* Define if you have the <unistd.h> header file. */
283#if defined(DJGPP)
284# define HAVE_UNISTD_H 1
285#endif
286
287/* Define if you have the i library (-li). */
288/* #undef HAVE_LIBI */
289
290/* Define if you have the intl library (-lintl). */
291/* #undef HAVE_LIBINTL */
292
293/* Define if you have the m library (-lm). */
294#define HAVE_LIBM 1
295
296/* Name of package */
297#define PACKAGE "gawk"
298
299/* Version number of package */
300#define VERSION "3.0.89"
301
302/* Number of bits in a file offset, on hosts where this is settable. */
303/* #undef _FILE_OFFSET_BITS */
304
305/* Define to make ftello visible on some hosts (e.g. HP-UX 10.20). */
306/* #undef _LARGEFILE_SOURCE */
307
308/* Define for large files, on AIX-style hosts. */
309/* #undef _LARGE_FILES */
310
311/* Define to make ftello visible on some hosts (e.g. glibc 2.1.3). */
312/* #undef _XOPEN_SOURCE */
313
314/* Define if compiler has function prototypes */
315#define PROTOTYPES 1
316
317/* Define to 1 if you have the stpcpy function. */
318/* #undef HAVE_STPCPY */
319
320/* Define if your locale.h file contains LC_MESSAGES. */
321/* #undef HAVE_LC_MESSAGES */
322
323/* Define to 1 if NLS is requested. */
324/* #undef ENABLE_NLS */
325
326/* Define to 1 if you have gettext and don't want to use GNU gettext. */
327/* #undef HAVE_GETTEXT */
328
329/* Define as 1 if you have catgets and don't want to use GNU gettext. */
330/* #undef HAVE_CATGETS */
331
332/* The size of `unsigned int' & `unsigned long', as computed by sizeof. */
333#if defined(DJGPP) || defined(_MSC_VER)
334# include <limits.h>
335#endif
336
337#if UINT_MAX == 65536
338# define SIZEOF_UNSIGNED_INT 2
339#endif
340
341#if UINT_MAX == 4294967295U
342# define SIZEOF_UNSIGNED_INT 4
343#endif
344
345#if ULONG_MAX == 4294967295UL
346# define SIZEOF_UNSIGNED_LONG 4
347#endif
348
349/* Library search path */
350#define DEFPATH ".;c:/lib/awk;c:/gnu/lib/awk"
351
352#if defined (_MSC_VER)
353#if !defined(__STDC__)
354# define __STDC__ 1
355#endif
356#undef HAVE_UNISTD_H
357#undef HAVE_SYS_PARAM_H
358#undef HAVE_RANDOM
359/* msc strftime is incomplete, use supplied version */
360#undef HAVE_STRFTIME
361/* #define HAVE_TM_ZONE */
362#define altzone timezone
363#endif
364
365# define HAVE_POPEN_H
366
367#if defined(_MSC_VER) && defined(MSDOS)
368#define system(s) os_system(s)
369#endif
370
371#if defined(_MSC_VER) || defined(__MINGW32__)
372#define ssize_t long int /* DJGPP has ssize_t */
373#define intmax_t long
374#define uintmax_t unsigned long
375#endif
376
377#if defined (_MSC_VER) || defined(__EMX__)
378#define strcasecmp stricmp
379#define strncasecmp strnicmp
380#endif
381
382#if defined(DJGPP)
383# define HAVE_LIMITS_H 1
384# undef HAVE_POPEN_H
385#define intmax_t long long
386#define uintmax_t unsigned long long
387#endif
388
389#if defined(__WIN32__) && defined(__CRTRSXNT__)
390#include <crtrsxnt.h>
391#endif
392
393/* For vcWin32 */
394#if defined(WIN32) && defined(_MSC_VER)
395#define alloca _alloca
396#define system(s) os_system(s)
397#endif
398
399#if defined(__MINGW32__)
400#undef HAVE_SYS_PARAM_H
401#endif
402
403
404/* #define NO_LINT 1 */
Note: See TracBrowser for help on using the repository browser.