xref: /freebsd/contrib/diff/config.h (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1 /* config.h.  Generated by configure.  */
2 /* config.hin.  Generated from configure.ac by autoheader.  */
3 
4 /* $FreeBSD$ */
5 
6 /* Define to 1 if the `closedir' function returns void instead of `int'. */
7 /* #undef CLOSEDIR_VOID */
8 
9 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
10    systems. This function is required for `alloca.c' support on those systems.
11    */
12 /* #undef CRAY_STACKSEG_END */
13 
14 /* Define to 1 if using `alloca.c'. */
15 /* #undef C_ALLOCA */
16 
17 /* Name of editor program, unless overridden. */
18 #define DEFAULT_EDITOR_PROGRAM "/usr/bin/vi"
19 
20 /* Define the default level of POSIX conformance. The value is of the form
21    YYYYMM, specifying the year and month the standard was adopted. If not
22    defined here, it defaults to the value of _POSIX2_VERSION in <unistd.h>.
23    Define to 199209 to default to POSIX 1003.2-1992, which makes standard
24    programs like `head', `tail', and `sort' accept obsolete options like `+10'
25    and `-10'. Define to 200112 to default to POSIX 1003.1-2001, which makes
26    these standard programs treat leading-`+' operands as file names and
27    require modern usages like `-n 10' instead of `-10'. Whether defined here
28    or not, the default can be overridden at run time via the _POSIX2_VERSION
29    environment variable. */
30 /* #undef DEFAULT_POSIX2_VERSION */
31 
32 /* Define to 1 if translation of program messages to the user's native
33    language is requested. */
34 #define ENABLE_NLS 0
35 
36 /* Define on systems for which file names may have a so-called `drive letter'
37    prefix, define this to compute the length of that prefix, including the
38    colon. */
39 #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0
40 
41 /* Define if the backslash character may also serve as a file name component
42    separator. */
43 #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0
44 
45 #if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX
46 # define FILESYSTEM_PREFIX_LEN(Filename) \
47   ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0)
48 #else
49 # define FILESYSTEM_PREFIX_LEN(Filename) 0
50 #endif
51 
52 /* Define if gettimeofday clobbers localtime's static buffer. */
53 /* #undef GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER */
54 
55 /* Define to 1 if you have `alloca', as a function or macro. */
56 #define HAVE_ALLOCA 1
57 
58 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
59    */
60 /* #undef HAVE_ALLOCA_H */
61 
62 /* Define to 1 if you have the `btowc' function. */
63 #define HAVE_BTOWC 1
64 
65 /* Define to 1 if you have the `clock_gettime' function. */
66 #define HAVE_CLOCK_GETTIME 1
67 
68 /* Define to 1 if C supports variable-length arrays. */
69 #define HAVE_C_VARARRAYS 1
70 
71 /* Define if the GNU dcgettext() function is already present or preinstalled.
72    */
73 /* #undef HAVE_DCGETTEXT */
74 
75 /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
76    you don't. */
77 #define HAVE_DECL_CLEARERR_UNLOCKED 1
78 
79 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
80    don't. */
81 #define HAVE_DECL_FEOF_UNLOCKED 1
82 
83 /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
84    you don't. */
85 #define HAVE_DECL_FERROR_UNLOCKED 1
86 
87 /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
88    you don't. */
89 #define HAVE_DECL_FFLUSH_UNLOCKED 0
90 
91 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
92    you don't. */
93 #define HAVE_DECL_FGETS_UNLOCKED 0
94 
95 /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
96    you don't. */
97 #define HAVE_DECL_FPUTC_UNLOCKED 0
98 
99 /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
100    you don't. */
101 #define HAVE_DECL_FPUTS_UNLOCKED 0
102 
103 /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
104    you don't. */
105 #define HAVE_DECL_FREAD_UNLOCKED 0
106 
107 /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
108    you don't. */
109 #define HAVE_DECL_FWRITE_UNLOCKED 0
110 
111 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
112    you don't. */
113 #define HAVE_DECL_GETCHAR_UNLOCKED 1
114 
115 /* Define to 1 if you have the declaration of `getcontext', and to 0 if you
116    don't. */
117 #define HAVE_DECL_GETCONTEXT 1
118 
119 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
120    don't. */
121 #define HAVE_DECL_GETC_UNLOCKED 1
122 
123 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
124    */
125 #define HAVE_DECL_GETENV 1
126 
127 /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
128    you don't. */
129 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
130 
131 /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
132    don't. */
133 #define HAVE_DECL_PUTC_UNLOCKED 1
134 
135 /* Define to 1 if you have the declaration of `sigaltstack', and to 0 if you
136    don't. */
137 #define HAVE_DECL_SIGALTSTACK 1
138 
139 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
140    don't. */
141 #define HAVE_DECL_STRERROR_R 1
142 
143 /* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
144    don't. */
145 #define HAVE_DECL_STRTOIMAX 1
146 
147 /* Define to 1 if you have the declaration of `strtoll', and to 0 if you
148    don't. */
149 #define HAVE_DECL_STRTOLL 1
150 
151 /* Define to 1 if you have the declaration of `strtoull', and to 0 if you
152    don't. */
153 #define HAVE_DECL_STRTOULL 1
154 
155 /* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
156    don't. */
157 #define HAVE_DECL_STRTOUMAX 1
158 
159 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
160    */
161 #define HAVE_DIRENT_H 1
162 
163 /* Define to 1 if you have the `dup2' function. */
164 #define HAVE_DUP2 1
165 
166 /* Define to 1 if you have the <fcntl.h> header file. */
167 #define HAVE_FCNTL_H 1
168 
169 /* Define to 1 if you have the `fork' function. */
170 #define HAVE_FORK 1
171 
172 /* Define to 1 if you have the `getcontext' function. */
173 #define HAVE_GETCONTEXT 1
174 
175 /* Define if the GNU gettext() function is already present or preinstalled. */
176 /* #undef HAVE_GETTEXT */
177 
178 /* Define to 1 if you have the `gettimeofday' function. */
179 #define HAVE_GETTIMEOFDAY 1
180 
181 /* Define if you have the iconv() function. */
182 /* #undef HAVE_ICONV */
183 
184 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
185 #define HAVE_INTMAX_T 1
186 
187 /* Define to 1 if you have the <inttypes.h> header file. */
188 #define HAVE_INTTYPES_H 1
189 
190 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
191    declares uintmax_t. */
192 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
193 
194 /* Define to 1 if you have the `isascii' function. */
195 #define HAVE_ISASCII 1
196 
197 /* Define to 1 if you have the <locale.h> header file. */
198 #define HAVE_LOCALE_H 1
199 
200 /* Define if you have the 'long long' type. */
201 #define HAVE_LONG_LONG 1
202 
203 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
204    to 0 otherwise. */
205 #define HAVE_MALLOC 1
206 
207 /* Define to 1 if you have the `mblen' function. */
208 #define HAVE_MBLEN 1
209 
210 /* Define to 1 if you have the `mbrlen' function. */
211 #define HAVE_MBRLEN 1
212 
213 /* Define to 1 if you have the `mbsrtowcs' function. */
214 #define HAVE_MBSRTOWCS 1
215 
216 /* Define to 1 if <wchar.h> declares mbstate_t. */
217 #define HAVE_MBSTATE_T 1
218 
219 /* Define to 1 if you have the <memory.h> header file. */
220 #define HAVE_MEMORY_H 1
221 
222 /* Define to 1 if you have the `mempcpy' function. */
223 /* #undef HAVE_MEMPCPY */
224 
225 /* Define to 1 if you have the `mkstemp' function. */
226 #define HAVE_MKSTEMP 1
227 
228 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
229 /* #undef HAVE_NDIR_H */
230 
231 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
232    and to 0 otherwise. */
233 #define HAVE_REALLOC 1
234 
235 /* Define to 1 if you have run the test for working tzset. */
236 #define HAVE_RUN_TZSET_TEST 1
237 
238 /* Define to 1 if you have the `setlocale' function. */
239 #define HAVE_SETLOCALE 1
240 
241 /* Define to 1 if you have the DOS-style `setmode' function. */
242 /* #undef HAVE_SETMODE_DOS */
243 
244 /* Define to 1 if you have the `setrlimit' function. */
245 #define HAVE_SETRLIMIT 1
246 
247 /* Define to 1 if you have the `sigaction' function. */
248 #define HAVE_SIGACTION 1
249 
250 /* Define to 1 if you have the `sigaltstack' function. */
251 #define HAVE_SIGALTSTACK 1
252 
253 /* Define to 1 if you have the `sigprocmask' function. */
254 #define HAVE_SIGPROCMASK 1
255 
256 /* Define to 1 if the system has the type `stack_t'. */
257 #define HAVE_STACK_T 1
258 
259 /* Define to 1 if stdbool.h conforms to C99. */
260 #define HAVE_STDBOOL_H 1
261 
262 /* Define to 1 if you have the <stdint.h> header file. */
263 #define HAVE_STDINT_H 1
264 
265 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
266    uintmax_t. */
267 #define HAVE_STDINT_H_WITH_UINTMAX 1
268 
269 /* Define to 1 if you have the <stdlib.h> header file. */
270 #define HAVE_STDLIB_H 1
271 
272 /* Define to 1 if you have the `strcasecmp' function. */
273 #define HAVE_STRCASECMP 1
274 
275 /* Define to 1 if you have the `strcasecoll' function. */
276 /* #undef HAVE_STRCASECOLL */
277 
278 /* Define to 1 if you have the `strerror_r' function. */
279 #define HAVE_STRERROR_R 1
280 
281 /* Define to 1 if you have the `strftime' function. */
282 #define HAVE_STRFTIME 1
283 
284 /* Define to 1 if you have the `stricoll' function. */
285 /* #undef HAVE_STRICOLL */
286 
287 /* Define to 1 if you have the <strings.h> header file. */
288 #define HAVE_STRINGS_H 1
289 
290 /* Define to 1 if you have the <string.h> header file. */
291 #define HAVE_STRING_H 1
292 
293 /* Define to 1 if you have the `strncasecmp' function. */
294 #define HAVE_STRNCASECMP 1
295 
296 /* Define to 1 if you have the `strtoimax' function. */
297 #define HAVE_STRTOIMAX 1
298 
299 /* Define to 1 if you have the `strtol' function. */
300 #define HAVE_STRTOL 1
301 
302 /* Define to 1 if you have the `strtoll' function. */
303 #define HAVE_STRTOLL 1
304 
305 /* Define to 1 if you have the `strtoul' function. */
306 #define HAVE_STRTOUL 1
307 
308 /* Define to 1 if you have the `strtoull' function. */
309 #define HAVE_STRTOULL 1
310 
311 /* Define to 1 if you have the `strtoumax' function. */
312 #define HAVE_STRTOUMAX 1
313 
314 /* Define to 1 if `sa_sigaction' is member of `struct sigaction'. */
315 #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
316 
317 /* Define to 1 if `st_blksize' is member of `struct stat'. */
318 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
319 
320 /* Define to 1 if `st_rdev' is member of `struct stat'. */
321 #define HAVE_STRUCT_STAT_ST_RDEV 1
322 
323 /* Define to 1 if `tm_zone' is member of `struct tm'. */
324 #define HAVE_STRUCT_TM_TM_ZONE 1
325 
326 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
327    */
328 /* #undef HAVE_SYS_DIR_H */
329 
330 /* Define to 1 if you have the <sys/file.h> header file. */
331 #define HAVE_SYS_FILE_H 1
332 
333 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
334    */
335 /* #undef HAVE_SYS_NDIR_H */
336 
337 /* Define to 1 if you have the <sys/resource.h> header file. */
338 #define HAVE_SYS_RESOURCE_H 1
339 
340 /* Define to 1 if you have the <sys/stat.h> header file. */
341 #define HAVE_SYS_STAT_H 1
342 
343 /* Define to 1 if you have the <sys/time.h> header file. */
344 #define HAVE_SYS_TIME_H 1
345 
346 /* Define to 1 if you have the <sys/types.h> header file. */
347 #define HAVE_SYS_TYPES_H 1
348 
349 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
350 #define HAVE_SYS_WAIT_H 1
351 
352 /* Define to 1 if localtime_r, etc. have the type signatures that POSIX
353    requires. */
354 #define HAVE_TIME_R_POSIX 1
355 
356 /* Define if struct tm has the tm_gmtoff member. */
357 #define HAVE_TM_GMTOFF 1
358 
359 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
360    `HAVE_STRUCT_TM_TM_ZONE' instead. */
361 #define HAVE_TM_ZONE 1
362 
363 /* Define to 1 if you don't have `tm_zone' but do have the external array
364    `tzname'. */
365 /* #undef HAVE_TZNAME */
366 
367 /* Define to 1 if you have the `tzset' function. */
368 #define HAVE_TZSET 1
369 
370 /* Define to 1 if you have the <ucontext.h> header file. */
371 #define HAVE_UCONTEXT_H 1
372 
373 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
374 #define HAVE_UINTMAX_T 1
375 
376 /* Define to 1 if you have the <unistd.h> header file. */
377 #define HAVE_UNISTD_H 1
378 
379 /* Define if you have the 'unsigned long long' type. */
380 #define HAVE_UNSIGNED_LONG_LONG 1
381 
382 /* Define to 1 if you have the `vfork' function. */
383 #define HAVE_VFORK 1
384 
385 /* Define to 1 if you have the <vfork.h> header file. */
386 /* #undef HAVE_VFORK_H */
387 
388 /* Define to 1 if you have the `waitpid' function. */
389 #define HAVE_WAITPID 1
390 
391 /* Define to 1 if you have the <wchar.h> header file. */
392 #define HAVE_WCHAR_H 1
393 
394 /* Define to 1 if you have the <wctype.h> header file. */
395 #define HAVE_WCTYPE_H 1
396 
397 /* Define to 1 if you have the `wmempcpy' function. */
398 /* #undef HAVE_WMEMPCPY */
399 
400 /* Define to 1 if `fork' works. */
401 #define HAVE_WORKING_FORK 1
402 
403 /* Define to 1 if `vfork' works. */
404 #define HAVE_WORKING_VFORK 1
405 
406 /* Define to 1 if extending the stack slightly past the limit causes a
407    SIGSEGV, and an alternate stack can be established with sigaltstack, and
408    the signal handler is passed a context that specifies the run time stack.
409    This behavior is defined by POSIX 1003.1-2001 with the X/Open System
410    Interface (XSI) option and is a standardized way to implement a SEGV-based
411    stack overflow detection heuristic. */
412 /* #undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC */
413 
414 /* Define to 1 if the system has the type `_Bool'. */
415 #define HAVE__BOOL 1
416 
417 /* Define to 1 if you have the `__secure_getenv' function. */
418 /* #undef HAVE___SECURE_GETENV */
419 
420 #if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
421 # define ISSLASH(C) ((C) == '/' || (C) == '\\')
422 #else
423 # define ISSLASH(C) ((C) == '/')
424 #endif
425 
426 /* Name of package */
427 #define PACKAGE "diffutils"
428 
429 /* Define to the address where bug reports for this package should be sent. */
430 #define PACKAGE_BUGREPORT "bug-gnu-utils@gnu.org"
431 
432 /* Define to the full name of this package. */
433 #define PACKAGE_NAME "GNU diffutils"
434 
435 /* Define to the full name and version of this package. */
436 #define PACKAGE_STRING "GNU diffutils 2.8.7"
437 
438 /* Define to the one symbol short name of this package. */
439 #define PACKAGE_TARNAME "diffutils"
440 
441 /* Define to the version of this package. */
442 #define PACKAGE_VERSION "2.8.7"
443 
444 /* Name of "pr" program. */
445 #define PR_PROGRAM "/usr/bin/pr"
446 
447 /* Define to 1 to avoid alloca in the regular-expression implementation. */
448 #define REGEX_MALLOC 1
449 
450 /* If using the C implementation of alloca, define if you know the
451    direction of stack growth for your system; otherwise it will be
452    automatically deduced at run-time.
453 	STACK_DIRECTION > 0 => grows toward higher addresses
454 	STACK_DIRECTION < 0 => grows toward lower addresses
455 	STACK_DIRECTION = 0 => direction of growth unknown */
456 /* #undef STACK_DIRECTION */
457 
458 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
459 /* #undef STAT_MACROS_BROKEN */
460 
461 /* Define to 1 if you have the ANSI C header files. */
462 #define STDC_HEADERS 1
463 
464 /* Define to 1 if strerror_r returns char *. */
465 /* #undef STRERROR_R_CHAR_P */
466 
467 /* Define to be the nanoseconds member of struct stat's st_mtim, if it exists.
468    */
469 #define ST_MTIM_NSEC tv_nsec
470 
471 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
472 #define TIME_WITH_SYS_TIME 1
473 
474 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
475 /* #undef TM_IN_SYS_TIME */
476 
477 /* Define if tzset clobbers localtime's static buffer. */
478 /* #undef TZSET_CLOBBERS_LOCALTIME_BUFFER */
479 
480 /* Version number of package */
481 #define VERSION "2.8.7"
482 
483 /* Define to 1 if on AIX 3.
484    System headers sometimes define this.
485    We just want to avoid a redefinition error message.  */
486 #ifndef _ALL_SOURCE
487 /* # undef _ALL_SOURCE */
488 #endif
489 
490 /* Number of bits in a file offset, on hosts where this is settable. */
491 /* #undef _FILE_OFFSET_BITS */
492 
493 /* Enable GNU extensions on systems that have them.  */
494 #ifndef _GNU_SOURCE
495 # define _GNU_SOURCE 1
496 #endif
497 
498 /* Define for large files, on AIX-style hosts. */
499 /* #undef _LARGE_FILES */
500 
501 /* Define to 1 if on MINIX. */
502 /* #undef _MINIX */
503 
504 /* Define to 2 if the system does not provide POSIX.1 features except with
505    this defined. */
506 /* #undef _POSIX_1_SOURCE */
507 
508 /* Define to 1 if you need to in order for `stat' and other things to work. */
509 /* #undef _POSIX_SOURCE */
510 
511 /* Enable extensions on Solaris.  */
512 #ifndef __EXTENSIONS__
513 # define __EXTENSIONS__ 1
514 #endif
515 
516 /* Define to empty if `const' does not conform to ANSI C. */
517 /* #undef const */
518 
519 /* Define to a replacement function name for fnmatch(). */
520 /* #undef fnmatch */
521 
522 /* Define to rpl_gettimeofday if the replacement function should be used. */
523 /* #undef gettimeofday */
524 
525 /* Define to rpl_gmtime if the replacement function should be used. */
526 /* #undef gmtime */
527 
528 /* Define to `__inline__' or `__inline' if that's what the C compiler
529    calls it, or to nothing if 'inline' is not supported under any name.  */
530 #ifndef __cplusplus
531 /* #undef inline */
532 #endif
533 
534 /* Define to long or long long if <inttypes.h> and <stdint.h> don't define. */
535 /* #undef intmax_t */
536 
537 /* Define to rpl_localtime if the replacement function should be used. */
538 /* #undef localtime */
539 
540 /* Define to rpl_malloc if the replacement function should be used. */
541 /* #undef malloc */
542 
543 /* Define to a type if <wchar.h> does not define. */
544 /* #undef mbstate_t */
545 
546 /* Define to rpl_mkstemp if the replacement function should be used. */
547 /* #undef mkstemp */
548 
549 /* Define to the name of the strftime replacement function. */
550 #define my_strftime nstrftime
551 
552 /* Define to `long' if <sys/types.h> does not define. */
553 /* #undef off_t */
554 
555 /* Define to `int' if <sys/types.h> does not define. */
556 /* #undef pid_t */
557 
558 /* Define to rpl_realloc if the replacement function should be used. */
559 /* #undef realloc */
560 
561 /* Define to equivalent of C99 restrict keyword, or to nothing if this is not
562    supported. Do not define if restrict is supported directly. */
563 #define restrict __restrict
564 
565 /* Define to rpl_tzset if the wrapper function should be used. */
566 /* #undef tzset */
567 
568 /* Define to unsigned long or unsigned long long if <stdint.h> and
569    <inttypes.h> don't define. */
570 /* #undef uintmax_t */
571 
572 /* Define as `fork' if `vfork' does not work. */
573 /* #undef vfork */
574