1 /* config.h.win Maintaind by hand. */
2 /* config_h.in. Generated from configure.ac by autoheader. */
4 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
5 systems. This function is required for `alloca.c' support on those systems.
7 /* #undef CRAY_STACKSEG_END */
9 /* Define to 1 if using `alloca.c'. */
12 /* Define to 1 if translation of program messages to the user's native
13 language is requested. */
14 /* #undef ENABLE_NLS */
16 /* Define to 1 if you have `alloca', as a function or macro. */
19 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
21 /*#define HAVE_ALLOCA_H 1*/
23 /* Define to 1 if you have the <argz.h> header file. */
24 /*#define HAVE_ARGZ_H 1*/
26 /* Define to 1 if you have the `bcopy' function. */
27 /*#define HAVE_BCOPY 1*/
29 /* Define to 1 if you have the `btowc' function. */
30 /*#define HAVE_BTOWC 1 - bird don't drag in msvcp71.dll */
32 /* Define to 1 if you have the `bzero' function. */
33 /*#define HAVE_BZERO 1*/
35 /* Define if the GNU dcgettext() function is already present or preinstalled.
37 /* #undef HAVE_DCGETTEXT */
39 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
41 #define HAVE_DIRENT_H 1 /* unused */
43 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
44 /* #undef HAVE_DOPRNT */
46 /* Define to 1 if you have the <errno.h> header file. */
47 #define HAVE_ERRNO_H 1
49 /* Define to 1 if you have the `fchmod' function. */
50 /*#define HAVE_FCHMOD 1*/
52 /* Define to 1 if you have the `fchown' function. */
53 /*#define HAVE_FCHOWN 1*/
55 /* Define to 1 if you have the `feof_unlocked' function. */
56 /*#define HAVE_FEOF_UNLOCKED 1*/
58 /* Define to 1 if you have the `fgets_unlocked' function. */
59 /*#define HAVE_FGETS_UNLOCKED 1*/
61 /* Define to 1 if you have the `getcwd' function. */
64 /* Define to 1 if you have the `getc_unlocked' function. */
65 /*#define HAVE_GETC_UNLOCKED 1*/
67 /* Define to 1 if you have the `getegid' function. */
68 /*#define HAVE_GETEGID 1*/
70 /* Define to 1 if you have the `geteuid' function. */
71 /*#define HAVE_GETEUID 1*/
73 /* Define to 1 if you have the `getgid' function. */
74 /*#define HAVE_GETGID 1*/
76 /* Define to 1 if you have the `getpagesize' function. */
77 #define HAVE_GETPAGESIZE 1 /* unused */
79 /* Define if the GNU gettext() function is already present or preinstalled. */
80 /* #undef HAVE_GETTEXT */
82 /* Define to 1 if you have the `getuid' function. */
83 #define HAVE_GETUID 1 /* unused (intl) */
85 /* Define if you have the iconv() function. */
86 #define HAVE_ICONV 1 /* unused (intl?) */
88 /* Define to 1 if you have the <inttypes.h> header file. */
89 /*#define HAVE_INTTYPES_H 1*/
91 /* Define to 1 if you have the <io.h> header file. */
92 /* #undef HAVE_IO_H */
94 /* Define to 1 if you have the `isascii' function. */
95 /*#define HAVE_ISASCII 1*/ /* don't think we've got this... */
97 /* Define to 1 if you have the `isatty' function. */
100 /* Define to 1 if you have the `isblank' function. */
101 /*#define HAVE_ISBLANK 1*/ /* don't think we've got this... */
103 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
104 /*#define HAVE_LANGINFO_CODESET 1*/
106 /* Define if your <locale.h> file defines LC_MESSAGES. */
107 #define HAVE_LC_MESSAGES 1 /* ??? */
109 /* Define to 1 if you have the `regex' library (-lregex). */
110 /* #undef HAVE_LIBREGEX */
112 /* Define to 1 if you have the <limits.h> header file. */
113 #define HAVE_LIMITS_H 1
115 /* Define to 1 if you have the <locale.h> header file. */
116 #define HAVE_LOCALE_H 1
118 /* Define to 1 if you support file names longer than 14 characters. */
119 #define HAVE_LONG_FILE_NAMES 1
121 /* Define to 1 if you have the <malloc.h> header file. */
122 #define HAVE_MALLOC_H 1
124 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
125 /*#define HAVE_MBRTOWC 1 - bird don't drag in msvcp71.dll */
127 /* Define to 1 if <wchar.h> declares mbstate_t. */
128 #define HAVE_MBSTATE_T 1
130 /* Define to 1 if you have the <mcheck.h> header file. */
131 /*#define HAVE_MCHECK_H 1*/
133 /* Define to 1 if you have the `memchr' function. */
134 #define HAVE_MEMCHR 1
136 /* Define to 1 if you have the `memcmp' function. */
137 #define HAVE_MEMCMP 1
139 /* Define to 1 if you have the `memcpy' function. */
140 #define HAVE_MEMCPY 1
142 /* Define to 1 if you have the `memmove' function. */
143 #define HAVE_MEMMOVE 1
145 /* Define to 1 if you have the <memory.h> header file. */
146 #define HAVE_MEMORY_H 1
148 /* Define to 1 if you have the `mempcpy' function. */
149 /*#define HAVE_MEMPCPY 1*/
151 /* Define to 1 if you have the `memset' function. */
152 #define HAVE_MEMSET 1
154 /* Define to 1 if you have the `mkstemp' function. */
155 /*#define HAVE_MKSTEMP 1*/
157 /* Define to 1 if you have a working `mmap' system call. */
158 /*#define HAVE_MMAP 1*/
160 /* Define to 1 if you have the `munmap' function. */
161 /*#define HAVE_MUNMAP 1*/
163 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
164 /* #undef HAVE_NDIR_H */
166 /* Define to 1 if you have the <nl_types.h> header file. */
167 /*#define HAVE_NL_TYPES_H 1*/
169 /* Define to 1 if libc includes obstacks. */
170 /*#define HAVE_OBSTACK 1*/
172 /* Define to 1 if you have the `pathconf' function. */
173 #define HAVE_PATHCONF 1 /* ?? */
175 /* Define to 1 if you have the `popen' function. */
176 /*#define HAVE_POPEN 1*/ /** @todo popen */
178 /* Define to 1 if you have the `putenv' function. */
179 #define HAVE_PUTENV 1
181 /* Define to 1 if you have the <regex.h> header file. */
182 /* #undef HAVE_REGEX_H */
184 /* Define to 1 if you have the `setenv' function. */
185 /*#define HAVE_SETENV 1*/
187 /* Define to 1 if you have the `setlocale' function. */
188 #define HAVE_SETLOCALE 1
190 /* Define to 1 if you have the <stdarg.h> header file. */
191 #define HAVE_STDARG_H 1
193 /* Define to 1 if stdbool.h conforms to C99. */
194 /*#define HAVE_STDBOOL_H 1*/
196 /* Define to 1 if you have the <stddef.h> header file. */
197 #define HAVE_STDDEF_H 1
199 /* Define to 1 if you have the <stdint.h> header file. */
200 #define HAVE_STDINT_H 1
202 /* Define to 1 if you have the <stdlib.h> header file. */
203 #define HAVE_STDLIB_H 1
205 /* Define to 1 if you have the `stpcpy' function. */
206 /*#define HAVE_STPCPY 1*/
208 /* Define to 1 if you have the `strcasecmp' function. */
209 #define HAVE_STRCASECMP 1
210 #define strcasecmp(__a,__b) stricmp((__a),(__b))
212 /* Define to 1 if you have the `strchr' function. */
213 #define HAVE_STRCHR 1
215 /* Define to 1 if you have the `strdup' function. */
216 #define HAVE_STRDUP 1
218 /* Define to 1 if you have the `strerror' function. */
219 #define HAVE_STRERROR 1
221 /* Define to 1 if you have the <strings.h> header file. */
222 /*#define HAVE_STRINGS_H 1*/
224 /* Define to 1 if you have the <string.h> header file. */
225 #define HAVE_STRING_H 1
227 /* Define to 1 if you have the `strtoul' function. */
228 #define HAVE_STRTOUL 1
230 /* Define to 1 if you have the `strverscmp' function. */
231 /*#define HAVE_STRVERSCMP 1*/
233 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
235 /* #undef HAVE_SYS_DIR_H */
237 /* Define to 1 if you have the <sys/file.h> header file. */
238 /*#define HAVE_SYS_FILE_H 1*/
240 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
242 /* #undef HAVE_SYS_NDIR_H */
244 /* Define to 1 if you have the <sys/param.h> header file. */
245 /*#define HAVE_SYS_PARAM_H 1*/
247 /* Define to 1 if you have the <sys/stat.h> header file. */
248 #define HAVE_SYS_STAT_H 1
250 /* Define to 1 if you have the <sys/types.h> header file. */
251 #define HAVE_SYS_TYPES_H 1
253 /* Define to 1 if you have the `tsearch' function. */
254 #define HAVE_TSEARCH 1 /* ??? */
256 /* Define to 1 if you have the <unistd.h> header file. */
257 /*#define HAVE_UNISTD_H 1*/
259 /* Define to 1 if you have the `vprintf' function. */
260 #define HAVE_VPRINTF 1
262 /* Define to 1 if you have the <wchar.h> header file. */
263 #define HAVE_WCHAR_H 1
265 /* Define to 1 if you have the `wcrtomb' function. */
266 /*#define HAVE_WCRTOMB 1 - bird don't drag in msvcp71.dll */
268 /* Define to 1 if you have the `wcscoll' function. */
269 /*#define HAVE_WCSCOLL 1 - bird don't drag in msvcp71.dll */
271 /* Define to 1 if you have the <wctype.h> header file. */
272 #define HAVE_WCTYPE_H 1
274 /* Define to 1 if the system has the type `_Bool'. */
275 /*#define HAVE__BOOL 1*/
277 /* Define to 1 if you have the `__argz_count' function. */
278 /*#define HAVE___ARGZ_COUNT 1*/
280 /* Define to 1 if you have the `__argz_next' function. */
281 /*#define HAVE___ARGZ_NEXT 1*/
283 /* Define to 1 if you have the `__argz_stringify' function. */
284 /*#define HAVE___ARGZ_STRINGIFY 1*/
286 /* Define as const if the declaration of iconv() needs const. */
287 /*#define ICONV_CONST */
289 /* Name of package */
290 #define PACKAGE "sed"
292 /* Define to the address where bug reports for this package should be sent. */
293 #define PACKAGE_BUGREPORT "bonzini@gnu.org"
295 /* Define to the full name of this package. */
296 #define PACKAGE_NAME "sed"
298 /* Define to the full name and version of this package. */
299 #define PACKAGE_STRING "sed 4.1.5"
301 /* Define to the one symbol short name of this package. */
302 #define PACKAGE_TARNAME "sed"
304 /* Define to the version of this package. */
305 #define PACKAGE_VERSION "4.1.5"
307 /* Define to the version of GNU sed whose features are supported by this sed.
309 #define SED_FEATURE_VERSION "4.1"
311 /* If using the C implementation of alloca, define if you know the
312 direction of stack growth for your system; otherwise it will be
313 automatically deduced at run-time.
314 STACK_DIRECTION > 0 => grows toward higher addresses
315 STACK_DIRECTION < 0 => grows toward lower addresses
316 STACK_DIRECTION = 0 => direction of growth unknown */
317 /* #undef STACK_DIRECTION */
319 /* Define to 1 if you have the ANSI C header files. */
320 #define STDC_HEADERS 1
322 /* Version number of package */
323 #define VERSION "4.1.5"
325 /* Define to 1 if on AIX 3.
326 System headers sometimes define this.
327 We just want to avoid a redefinition error message. */
329 /* # undef _ALL_SOURCE */
332 /* Number of bits in a file offset, on hosts where this is settable. */
333 #define _FILE_OFFSET_BITS 64
335 /* Enable GNU extensions on systems that have them. */
337 # define _GNU_SOURCE 1
340 /* Define for large files, on AIX-style hosts. */
341 /* #undef _LARGE_FILES */
343 /* Define to 1 if on MINIX. */
346 /* Define to 2 if the system does not provide POSIX.1 features except with
348 /* #undef _POSIX_1_SOURCE */
350 /* Define to 1 if you need to in order for `stat' and other things to work. */
351 /* #undef _POSIX_SOURCE */
353 /* Include BSD functions in regex, used by the testsuite */
354 #define _REGEX_RE_COMP 1
356 /* Define to empty if `const' does not conform to ANSI C. */
359 /* Define to `__inline__' or `__inline' if that's what the C compiler
360 calls it, or to nothing if 'inline' is not supported under any name. */
365 /* Define to a type if <wchar.h> does not define. */
366 /* #undef mbstate_t */
368 /* Define to `long' if <sys/types.h> does not define. */
371 /* Define to `unsigned' if <sys/types.h> does not define. */
374 /* Define to `int' if <sys/types.h> does not define. */
375 #define ssize_t int /* does 14.0 have this? */
377 /* Additional defines and includes to make it work with the microsoft compiler */
378 #ifndef __config_h_included_already
379 #define __config_h_included_already
381 #define HAVE_FCNTL_H 1 /* no idea why this isn't in config.h.in... */
384 #define inline _inline
385 #include <io.h> /* isatty ++ */
386 #include <sys/stat.h>
387 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
388 #define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
390 #include <string.h> /* memory.h != string.h it seem even if the code assumes so. */
392 /* stdbool.h replacement */
398 /* mbsinit isn't defined until 2005 / v8.0. */
400 int _inline mbsinit(const mbstate_t *_p)
402 return (_p) == (const mbstate_t *)0 || *(_p) == 0;
407 /* crtdefs.h contains a typedef int errcode which collides with regcomp.c,
409 #define errcode _errcode
412 /* mkstemp, getline */