2 *** config.h.in, generated by mkconfig.pl:
6 *** . config.h.in.footer
9 *** ***** DO NOT ALTER THIS FILE!!! *****
11 *** Changes to this file will be overwritten by automatic script runs.
12 *** Changes should be made to the config.h.in.in & config.h.in.footer
16 /* config.h.in. Generated from configure.in by autoheader. */
18 /* Define this to a NULL terminated list of allowed path prefixes (for
19 directories) and paths to files the CVS server will allow configuration to
20 be read from when specified from the command line. */
21 #undef ALLOW_CONFIG_OVERRIDE
23 /* Enable AUTH_CLIENT_SUPPORT to enable pserver as a remote access method in
24 the CVS client (default) */
25 #define AUTH_CLIENT_SUPPORT 1
27 /* Define if you want to use the password authenticated server. */
28 #undef AUTH_SERVER_SUPPORT
30 /* Define if you want CVS to be able to be a remote repository client. */
31 #define CLIENT_SUPPORT
33 /* Define to 1 if the `closedir' function returns void instead of `int'. */
36 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
37 systems. This function is required for `alloca.c' support on those systems.
39 #undef CRAY_STACKSEG_END
41 /* define if cross compiling */
42 #undef CROSS_COMPILING
44 /* The CVS admin command is restricted to the members of the group
45 CVS_ADMIN_GROUP. If this group does not exist, all users are allowed to run
46 CVS admin. To disable the CVS admin command for all users, create an empty
47 CVS_ADMIN_GROUP by running configure with the --with-cvs-admin-group=
48 option. To disable access control for CVS admin, run configure with the
49 --without-cvs-admin-group option in order to comment out the define below.
51 #undef CVS_ADMIN_GROUP
53 /* When committing a permanent change, CVS and RCS make a log entry of who
54 committed the change. If you are committing the change logged in as "root"
55 (not under "su" or other root-priv giving program), CVS/RCS cannot
56 determine who is actually making the change. As such, by default, CVS
57 prohibits changes committed by users logged in as "root". You can disable
58 checking by passing the "--enable-rootcommit" option to configure or by
59 commenting out the lines below. */
62 /* Define to 1 if using `alloca.c'. */
65 /* Define if there is a member named d_ino in the struct describing directory
67 #undef D_INO_IN_DIRENT
69 /* The default editor to use, if one does not specify the "-e" option to cvs,
70 or does not have an EDITOR environment variable. If this is not set to an
71 absolute path to an executable, use the shell to find where the editor
72 actually is. This allows sites with /usr/bin/vi or /usr/ucb/vi to work
73 equally well (assuming that their PATH is reasonable). */
74 #define EDITOR_DFLT "notepad"
76 /* Define to 1 if translation of program messages to the user's native
77 language is requested. */
80 /* Define to enable encryption support. */
83 /* Define as good substitute value for EOVERFLOW. */
84 #define EOVERFLOW EINVAL
86 /* Define if this executable will be running on case insensitive file systems.
87 In the client case, this means that it will request that the server pretend
88 to be case insensitive if it isn't already. */
89 #define FILENAMES_CASE_INSENSITIVE 1
91 /* Define on systems for which file names may have a so-called `drive letter'
92 prefix, define this to compute the length of that prefix, including the
94 #define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 1
96 /* Define if the backslash character may also serve as a file name component
98 #define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 1
100 #if FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX
101 # define FILE_SYSTEM_PREFIX_LEN(Filename) \
102 ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0)
104 # define FILE_SYSTEM_PREFIX_LEN(Filename) 0
107 /* When committing or importing files, you must enter a log message. Normally,
108 you can do this either via the -m flag on the command line, the -F flag on
109 the command line, or an editor will be started for you. If you like to use
110 logging templates (the rcsinfo file within the $CVSROOT/CVSROOT directory),
111 you might want to force people to use the editor even if they specify a
112 message with -m or -F. Enabling FORCE_USE_EDITOR will cause the -m or -F
113 message to be appended to the temp file when the editor is started. */
114 #undef FORCE_USE_EDITOR
116 /* Define to an alternative value if GSS_C_NT_HOSTBASED_SERVICE isn't defined
117 in the gssapi.h header file. MIT Kerberos 1.2.1 requires this. Only
118 relevant when using GSSAPI. */
119 #undef GSS_C_NT_HOSTBASED_SERVICE
121 /* Define to 1 if you have the `alarm' function. */
124 /* Define to 1 if you have `alloca' after including <alloca.h>, a header that
125 may be supplied by this distribution. */
128 /* Define HAVE_ALLOCA_H for backward compatibility with older code that
129 includes <alloca.h> only if HAVE_ALLOCA_H is defined. */
130 #define HAVE_ALLOCA_H 1
132 /* Define to 1 if you have the `atexit' function. */
133 #define HAVE_ATEXIT 1
135 /* Define to 1 if you have the <bp-sym.h> header file. */
138 /* Define to 1 if you have the `btowc' function. */
141 /* Define to 1 if you have the `canonicalize_file_name' function. */
142 #undef HAVE_CANONICALIZE_FILE_NAME
144 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
145 CoreFoundation framework. */
146 #undef HAVE_CFLOCALECOPYCURRENT
148 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
149 the CoreFoundation framework. */
150 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
152 /* Define to 1 if you have the `chsize' function. */
153 #define HAVE_CHSIZE 1
155 /* Define to 1 if you have the `clock_gettime' function. */
156 #undef HAVE_CLOCK_GETTIME
158 /* Define to 1 if you have the `clock_settime' function. */
159 #undef HAVE_CLOCK_SETTIME
161 /* Define if you have the connect function. */
164 /* Define if you have the crypt function. */
167 /* Define if the GNU dcgettext() function is already present or preinstalled.
169 #undef HAVE_DCGETTEXT
171 /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
173 #undef HAVE_DECL_CLEARERR_UNLOCKED
175 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
177 #undef HAVE_DECL_FEOF_UNLOCKED
179 /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
181 #undef HAVE_DECL_FERROR_UNLOCKED
183 /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
185 #undef HAVE_DECL_FFLUSH_UNLOCKED
187 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
189 #undef HAVE_DECL_FGETS_UNLOCKED
191 /* Define to 1 if you have the declaration of `flockfile', and to 0 if you
193 #undef HAVE_DECL_FLOCKFILE
195 /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
197 #undef HAVE_DECL_FPUTC_UNLOCKED
199 /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
201 #undef HAVE_DECL_FPUTS_UNLOCKED
203 /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
205 #undef HAVE_DECL_FREAD_UNLOCKED
207 /* Define to 1 if you have the declaration of `funlockfile', and to 0 if you
209 #undef HAVE_DECL_FUNLOCKFILE
211 /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
213 #undef HAVE_DECL_FWRITE_UNLOCKED
215 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
217 #undef HAVE_DECL_GETCHAR_UNLOCKED
219 /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
221 #define HAVE_DECL_GETCWD 1
223 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
225 #undef HAVE_DECL_GETC_UNLOCKED
227 /* Define to 1 if you have the declaration of `getdelim', and to 0 if you
229 #undef HAVE_DECL_GETDELIM
231 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
233 #define HAVE_DECL_GETENV 1
235 /* Define to 1 if you have the declaration of `getline', and to 0 if you
237 #undef HAVE_DECL_GETLINE
239 /* Define to 1 if you have the declaration of `getlogin', and to 0 if you
241 #undef HAVE_DECL_GETLOGIN
243 /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you
245 #undef HAVE_DECL_GETLOGIN_R
247 /* Define to 1 if you have the declaration of `getpass', and to 0 if you
249 #define HAVE_DECL_GETPASS 1
251 /* Define to 1 if you have the declaration of `memrchr', and to 0 if you
253 #undef HAVE_DECL_MEMRCHR
255 /* Define to 1 if you have the declaration of `nanosleep', and to 0 if you
257 #define HAVE_DECL_NANOSLEEP 1
259 /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
261 #undef HAVE_DECL_PUTCHAR_UNLOCKED
263 /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
265 #undef HAVE_DECL_PUTC_UNLOCKED
267 /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
269 #define HAVE_DECL_STRDUP 1
271 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
273 #undef HAVE_DECL_STRERROR_R
275 /* Define to 1 if you have the declaration of `__fpending', and to 0 if you
277 #define HAVE_DECL___FPENDING 0
279 /* Define to 1 if you have the <direct.h> header file. */
282 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
286 /* Define to 1 if you have the `dup2' function. */
289 /* Define if you have the declaration of environ. */
290 #define HAVE_ENVIRON_DECL 1
292 /* Define if you have the declaration of errno. */
293 #define HAVE_ERRNO_DECL 1
295 /* Define to 1 if you have the `fchdir' function. */
298 /* Define to 1 if you have the `fchmod' function. */
301 /* Define to 1 if you have the <fcntl.h> header file. */
302 #define HAVE_FCNTL_H 1
304 /* Define to 1 if you have the `flockfile' function. */
305 #undef HAVE_FLOCKFILE
307 /* Define to 1 if you have the `fork' function. */
310 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
313 /* Define to 1 if you have the `fsync' function. */
316 /* Define to 1 if you have the `ftime' function. */
319 /* Define to 1 if you have the `ftruncate' function. */
320 #undef HAVE_FTRUNCATE
322 /* Define to 1 if you have the `funlockfile' function. */
323 #undef HAVE_FUNLOCKFILE
325 /* Define to 1 if you have the `gai_strerror' function. */
326 #undef HAVE_GAI_STRERROR
328 /* Define to 1 if you have the `getaddrinfo' function. */
329 #undef HAVE_GETADDRINFO
331 /* Define to 1 if you have the `getdelim' function. */
334 /* Define to 1 if you have the `geteuid' function. */
337 /* Define to 1 if you have the `getgroups' function. */
338 #undef HAVE_GETGROUPS
340 /* Define to 1 if you have the `gethostname' function. */
341 #define HAVE_GETHOSTNAME 1
343 /* Define to 1 if you have the `getlogin_r' function. */
344 #undef HAVE_GETLOGIN_R
346 /* Define to 1 if you have the <getopt.h> header file. */
349 /* Define to 1 if you have the `getopt_long_only' function. */
350 #undef HAVE_GETOPT_LONG_ONLY
352 /* Define to 1 if you have the `getpagesize' function. */
353 #undef HAVE_GETPAGESIZE
355 /* Define to 1 if you have the `getpwnam_r' function. */
356 #undef HAVE_GETPWNAM_R
358 /* Define if you have the getspnam function. */
361 /* Define if the GNU gettext() function is already present or preinstalled. */
364 /* Define to 1 if you have the `gettimeofday' function. */
365 #undef HAVE_GETTIMEOFDAY
367 /* Define to 1 if you have the <glob.h> header file. */
368 #define HAVE_GLOB_H 1
370 /* Define if you have GSSAPI with Kerberos version 5 available. */
373 /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
374 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
376 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
377 #undef HAVE_GSSAPI_GSSAPI_H
379 /* Define to 1 if you have the <gssapi.h> header file. */
382 /* Define if you have the iconv() function. */
385 /* Define to 1 if you have the `initgroups' function. */
386 #undef HAVE_INITGROUPS
388 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
391 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
392 #undef HAVE_INTTYPES_H
394 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
395 declares uintmax_t. */
396 #undef HAVE_INTTYPES_H_WITH_UINTMAX
398 /* Define to 1 if you have the <io.h> header file. */
401 /* Define to 1 if <sys/socket.h> defines AF_INET. */
404 /* Define to 1 if <sys/socket.h> defines AF_INET6. */
407 /* Define to 1 if you have the `isascii' function. */
408 #define HAVE_ISASCII 1
410 /* Define to 1 if you have the `isblank' function. */
413 /* Define to 1 if you have the `iswprint' function. */
414 #define HAVE_ISWPRINT 1
416 /* Define if you have MIT Kerberos version 4 available. */
419 /* Define to 1 if you have the <krb5.h> header file. */
422 /* Define to 1 if you have the `krb_get_err_text' function. */
423 #undef HAVE_KRB_GET_ERR_TEXT
425 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
426 #undef HAVE_LANGINFO_CODESET
428 /* Define to 1 if you have the `krb' library (-lkrb). */
431 /* Define to 1 if you have the `krb4' library (-lkrb4). */
434 /* Define to 1 if you have the `nsl' library (-lnsl). */
437 /* Define to 1 if you have the <locale.h> header file. */
438 #define HAVE_LOCALE_H 1
440 /* Define to 1 if you have the `login' function. */
443 /* Define to 1 if you have the `logout' function. */
446 /* Define if you have the 'long double' type. */
447 #undef HAVE_LONG_DOUBLE
449 /* Define to 1 if you support file names longer than 14 characters. */
450 #define HAVE_LONG_FILE_NAMES 1
452 /* Define if you have the 'long long' type. */
453 #undef HAVE_LONG_LONG
455 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
457 #define HAVE_MALLOC 1
459 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
460 config.h and <sys/mman.h>. */
461 #undef HAVE_MAP_ANONYMOUS
463 /* Define to 1 if you have the `mblen' function. */
466 /* Define to 1 if you have the `mbrlen' function. */
467 #define HAVE_MBRLEN 1
469 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
470 #define HAVE_MBRTOWC 1
472 /* Define to 1 if you have the `mbsinit' function. */
475 /* Define to 1 if you have the `mbsrtowcs' function. */
476 #define HAVE_MBSRTOWCS 1
478 /* Define to 1 if <wchar.h> declares mbstate_t. */
479 #define HAVE_MBSTATE_T 1
481 /* Define if you have memchr (always for CVS). */
482 #define HAVE_MEMCHR 1
484 /* Define to 1 if you have the `memmove' function. */
485 #define HAVE_MEMMOVE 1
487 /* Define to 1 if you have the <memory.h> header file. */
488 #define HAVE_MEMORY_H 1
490 /* Define to 1 if you have the `mempcpy' function. */
493 /* Define to 1 if you have the `memrchr' function. */
496 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
497 #define HAVE_MINMAX_IN_LIMITS_H 1
499 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
500 #undef HAVE_MINMAX_IN_SYS_PARAM_H
502 /* Define to 1 if you have the `mknod' function. */
505 /* Define to 1 if you have the `mkstemp' function. */
508 /* Define to 1 if you have a working `mmap' system call. */
511 /* Define to 1 if you have the `nanotime' function. */
514 /* Define to 1 if you have the <ndbm.h> header file. */
517 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
518 #define HAVE_NDIR_H 1
520 /* Define to 1 if you have the `openat' function. */
523 /* Define to 1 if you have the <OS.h> header file. */
526 /* Define to enable system authentication with PAM instead of using the simple
527 getpwnam interface. This allows authentication (in theory) with any PAM
528 module, e.g. on systems with shadow passwords or via LDAP */
531 /* Define to 1 if pam/pam_appl.h is available */
532 #undef HAVE_PAM_PAM_APPL_H
534 /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
535 setting errno to ERANGE, ENAMETOOLONG, or ENOENT. If __GETCWD_PREFIX is not
536 defined, it doesn't matter whether HAVE_PARTLY_WORKING_GETCWD is defined.
538 #undef HAVE_PARTLY_WORKING_GETCWD
540 /* Define to 1 if you have the `posix_memalign' function. */
541 #undef HAVE_POSIX_MEMALIGN
543 /* Define to 1 if the `printf' function supports the %p format for printing
545 #define HAVE_PRINTF_PTR 1
547 /* Define to 1 if the system has the type `ptrdiff_t'. */
548 #define HAVE_PTRDIFF_T 1
550 /* Define to 1 if you have the `readlink' function. */
553 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
554 and to 0 otherwise. */
555 #define HAVE_REALLOC 1
557 /* Define to 1 if you have the `regcomp' function. */
560 /* Define to 1 if you have the `regerror' function. */
563 /* Define to 1 if you have the `regexec' function. */
566 /* Define to 1 if you have the `regfree' function. */
569 /* Define to 1 if you have the `resolvepath' function. */
570 #undef HAVE_RESOLVEPATH
572 /* Define to 1 if you have the `rpmatch' function. */
575 /* Define to 1 if you have run the test for working tzset. */
576 #define HAVE_RUN_TZSET_TEST 1
578 /* Define to 1 if you have the <search.h> header file. */
579 #define HAVE_SEARCH_H 1
581 /* Define to 1 if security/pam_appl.h is available */
582 #undef HAVE_SECURITY_PAM_APPL_H
584 /* Define to 1 if you have the `setenv' function. */
587 /* Define if the diff library should use setmode for binary files. */
588 #define HAVE_SETMODE 1
590 /* Define to 1 if you have the `sigaction' function. */
591 #undef HAVE_SIGACTION
593 /* Define to 1 if you have the `sigblock' function. */
596 /* Define to 1 if you have the `siginterrupt' function. */
597 #undef HAVE_SIGINTERRUPT
599 /* Define to 1 if you have the `sigprocmask' function. */
600 #undef HAVE_SIGPROCMASK
602 /* Define to 1 if you have the `sigsetmask' function. */
603 #undef HAVE_SIGSETMASK
605 /* Define to 1 if you have the `sigvec' function. */
608 /* Define to 1 if you have the `snprintf' function. */
611 /* Define to 1 if stdbool.h conforms to C99. */
612 #undef HAVE_STDBOOL_H
614 /* Define to 1 if you have the <stdint.h> header file. */
615 #define HAVE_STDINT_H 1
617 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
619 #define HAVE_STDINT_H_WITH_UINTMAX 1
621 /* Define to 1 if you have the <stdio_ext.h> header file. */
622 #undef HAVE_STDIO_EXT_H
624 /* Define to 1 if you have the <stdlib.h> header file. */
625 #define HAVE_STDLIB_H 1
627 /* Define if you have strchr (always for CVS). */
628 #define HAVE_STRCHR 1
630 /* Define to 1 if you have the `strdup' function. */
631 #define HAVE_STRDUP 1
633 /* Define to 1 if you have the `strerror' function. */
634 #define HAVE_STRERROR 1
636 /* Define to 1 if you have the `strerror_r' function. */
637 #undef HAVE_STRERROR_R
639 /* Define to 1 if you have the `strftime' function. */
640 #define HAVE_STRFTIME 1
642 /* Define to 1 if you have the <strings.h> header file. */
643 #undef HAVE_STRINGS_H
645 /* Define to 1 if you have the <string.h> header file. */
646 #define HAVE_STRING_H 1
648 /* Define to 1 if you have the `strncasecmp' function. */
649 #undef HAVE_STRNCASECMP
651 /* Define to 1 if you have the `strtol' function. */
652 #define HAVE_STRTOL 1
654 /* Define to 1 if you have the `strtoul' function. */
655 #define HAVE_STRTOUL 1
657 /* Define if there is a member named d_type in the struct describing directory
659 #undef HAVE_STRUCT_DIRENT_D_TYPE
661 /* Define to 1 if `st_blksize' is member of `struct stat'. */
662 #undef HAVE_STRUCT_STAT_ST_BLKSIZE
664 /* Define to 1 if `st_rdev' is member of `struct stat'. */
665 #define HAVE_STRUCT_STAT_ST_RDEV 1
667 /* Define if struct timespec is declared in <time.h>. */
668 #undef HAVE_STRUCT_TIMESPEC
670 /* Define to 1 if `tm_zone' is member of `struct tm'. */
671 #undef HAVE_STRUCT_TM_TM_ZONE
673 /* Define to 1 if you have the <syslog.h> header file. */
676 /* Define to 1 if you have the <sys/bsdtypes.h> header file. */
677 #undef HAVE_SYS_BSDTYPES_H
679 /* Define to 1 if you have the <sys/cdefs.h> header file. */
680 #undef HAVE_SYS_CDEFS_H
682 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
684 #undef HAVE_SYS_DIR_H
686 /* Define to 1 if you have the <sys/file.h> header file. */
687 #undef HAVE_SYS_FILE_H
689 /* Define to 1 if you have the <sys/inttypes.h> header file. */
690 #undef HAVE_SYS_INTTYPES_H
692 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
694 #undef HAVE_SYS_NDIR_H
696 /* Define to 1 if you have the <sys/param.h> header file. */
697 #undef HAVE_SYS_PARAM_H
699 /* Define to 1 if you have the <sys/resource.h> header file. */
700 #undef HAVE_SYS_RESOURCE_H
702 /* Define to 1 if you have the <sys/select.h> header file. */
703 #undef HAVE_SYS_SELECT_H
705 /* Define to 1 if you have the <sys/stat.h> header file. */
706 #define HAVE_SYS_STAT_H 1
708 /* Define to 1 if you have the <sys/time.h> header file. */
709 #undef HAVE_SYS_TIME_H
711 /* Define to 1 if you have the <sys/types.h> header file. */
712 #define HAVE_SYS_TYPES_H 1
714 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
715 #undef HAVE_SYS_WAIT_H
717 /* Define to 1 if you have the `tcgetattr' function. */
718 #undef HAVE_TCGETATTR
720 /* Define to 1 if you have the `tcsetattr' function. */
721 #undef HAVE_TCSETATTR
723 /* Define to 1 if you have the <termios.h> header file. */
724 #undef HAVE_TERMIOS_H
726 /* Define to 1 if you have the `timezone' function. */
729 /* Define to 1 if localtime_r, etc. have the type signatures that POSIX
731 #undef HAVE_TIME_R_POSIX
733 /* Define if struct tm has the tm_gmtoff member. */
734 #undef HAVE_TM_GMTOFF
736 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
737 `HAVE_STRUCT_TM_TM_ZONE' instead. */
740 /* Define to 1 if you have the `tsearch' function. */
743 /* Define to 1 if you don't have `tm_zone' but do have the external array
745 #define HAVE_TZNAME 1
747 /* Define to 1 if you have the `tzset' function. */
750 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
751 #undef HAVE_UINTMAX_T
753 /* Define to 1 if you have the `uname' function. */
756 /* Define to 1 if you have the <unistd.h> header file. */
757 #define HAVE_UNISTD_H 1
759 /* Define to 1 if you have the `unsetenv' function. */
762 /* Define if you have the 'unsigned long long' type. */
763 #undef HAVE_UNSIGNED_LONG_LONG
765 /* Define to 1 if you have the <utime.h> header file. */
768 /* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */
769 #define HAVE_UTIME_NULL 1
771 /* Define to 1 if you have the `vasnprintf' function. */
772 #undef HAVE_VASNPRINTF
774 /* Define to 1 if you have the `vasprintf' function. */
775 #undef HAVE_VASPRINTF
777 /* Define to 1 if you have the `vfork' function. */
780 /* Define to 1 if you have the <vfork.h> header file. */
783 /* Define to 1 if you have the `vprintf' function. */
784 #define HAVE_VPRINTF 1
786 /* Define to 1 if you have the `wait3' function. */
789 /* Define to 1 if you have the `waitpid' function. */
792 /* Define to 1 if you have the <wchar.h> header file. */
793 #define HAVE_WCHAR_H 1
795 /* Define if you have the 'wchar_t' type. */
796 #define HAVE_WCHAR_T 1
798 /* Define to 1 if you have the `wcrtomb' function. */
799 #define HAVE_WCRTOMB 1
801 /* Define to 1 if you have the `wcscoll' function. */
802 #define HAVE_WCSCOLL 1
804 /* Define to 1 if you have the `wcslen' function. */
805 #define HAVE_WCSLEN 1
807 /* Define to 1 if you have the <wctype.h> header file. */
808 #define HAVE_WCTYPE_H 1
810 /* Define if you have the 'wint_t' type. */
811 #define HAVE_WINT_T 1
813 /* Define to 1 if you have the `wmemchr' function. */
814 #define HAVE_WMEMCHR 1
816 /* Define to 1 if you have the `wmemcpy' function. */
817 #define HAVE_WMEMCPY 1
819 /* Define to 1 if you have the `wmempcpy' function. */
822 /* Define to 1 if `fork' works. */
823 #undef HAVE_WORKING_FORK
825 /* Define to 1 if `vfork' works. */
826 #undef HAVE_WORKING_VFORK
828 /* Define to 1 if you have the <zlib.h> header file. */
831 /* Define to 1 if the system has the type `_Bool'. */
834 /* Define to 1 if you have the `__fpending' function. */
835 #undef HAVE___FPENDING
837 /* Define to 1 if you have the `__fsetlocking' function. */
838 #undef HAVE___FSETLOCKING
840 /* Define to 1 if you have the `__secure_getenv' function. */
841 #undef HAVE___SECURE_GETENV
843 #if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
844 # define ISSLASH(C) ((C) == '/' || (C) == '\\')
846 # define ISSLASH(C) ((C) == '/')
849 /* Define to include locking code which prevents versions of CVS earlier than
850 1.12.4 directly accessing the same repositiory as this executable from
851 ignoring this executable's promotable read locks. If only CVS versions
852 1.12.4 and later will be accessing your repository directly (as a server or
853 locally), you can safely disable this option in return for fewer disk
854 accesses and a small speed increase. Disabling this option when versions of
855 CVS earlier than 1,12,4 _will_ be accessing your repository, however, is
856 *VERY* *VERY* *VERY* dangerous and could result in data loss. As such, by
857 default, CVS is compiled with this code enabled. If you are sure you would
858 like this code disabled, you can disable it by passing the
859 "--disable-lock-compatibility" option to configure or by commenting out the
861 #define LOCK_COMPATIBILITY
863 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
865 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
867 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
868 #undef MALLOC_0_IS_NONNULL
870 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
873 /* By default, CVS stores its modules and other such items in flat text files
874 (MY_NDBM enables this). Turning off MY_NDBM causes CVS to look for a
875 system-supplied ndbm database library and use it instead. That may speed
876 things up, but the default setting generally works fine too. */
879 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
880 #undef NO_MINUS_C_MINUS_O
882 /* Define to the address where bug reports for this package should be sent. */
883 #define PACKAGE_BUGREPORT "%PACKAGE_BUGREPORT%"
885 /* Define to the full name of this package. */
888 /* Define to the full name and version of this package. */
889 #define PACKAGE_STRING "%PACKAGE_STRING%"
891 /* Define to the one symbol short name of this package. */
892 #undef PACKAGE_TARNAME
894 /* Define to the version of this package. */
895 #undef PACKAGE_VERSION
897 /* Define to set a service name for PAM. This must be defined. Define to
898 `program_name', without the quotes, to use whatever name CVS was invoked
899 as. Otherwise, define to a double-quoted literal string, such as `"cvs"'.
901 #undef PAM_SERVICE_NAME
903 /* the number of pending output bytes on stream `fp' */
904 #define PENDING_OUTPUT_N_BYTES ( fp ? fp->_ptr - fp->_base : 0 )
906 /* Define if you want CVS to be able to serve as a transparent proxy for write
907 operations. Disabling this may produce a slight performance gain on some
908 systems, at the expense of write proxy support. */
911 /* Path to the pr utility */
914 /* Define to force lib/regex.c to use malloc instead of alloca. */
915 #define REGEX_MALLOC 1
917 /* Define if rename does not work for source file names with a trailing slash,
918 like the one from SunOS 4.1.1_U1. */
919 #undef RENAME_TRAILING_SLASH_BUG
921 /* Define as the return type of signal handlers (`int' or `void'). */
922 #define RETSIGTYPE void
924 /* The default remote shell to use, if one does not specify the CVS_RSH
925 environment variable. */
926 #define RSH_DFLT "rsh"
928 /* If you are working with a large remote repository and a 'cvs checkout' is
929 swamping your network and memory, define these to enable flow control. You
930 will end up with even less probability of a consistent checkout (see
931 Concurrency in cvs.texinfo), but CVS doesn't try to guarantee that anyway.
932 The master server process will monitor how far it is getting behind, if it
933 reaches the high water mark, it will signal the child process to stop
934 generating data when convenient (ie: no locks are held, currently at the
935 beginning of a new directory). Once the buffer has drained sufficiently to
936 reach the low water mark, it will be signalled to start again. */
937 #undef SERVER_FLOWCONTROL
939 /* The high water mark in bytes for server flow control. Required if
940 SERVER_FLOWCONTROL is defined, and useless otherwise. */
941 #undef SERVER_HI_WATER
943 /* The low water mark in bytes for server flow control. Required if
944 SERVER_FLOWCONTROL is defined, and useless otherwise. */
945 #undef SERVER_LO_WATER
947 /* Define if you want CVS to be able to serve repositories to remote clients.
949 #undef SERVER_SUPPORT
951 /* The size of a `char', as computed by sizeof. */
952 #define SIZEOF_CHAR 1
954 /* The size of a `double', as computed by sizeof. */
955 #define SIZEOF_DOUBLE 8
957 /* The size of a `float', as computed by sizeof. */
958 #define SIZEOF_FLOAT 4
960 /* The size of a `int', as computed by sizeof. */
963 /* The size of a `intmax_t', as computed by sizeof. */
964 #undef SIZEOF_INTMAX_T
966 /* The size of a `long', as computed by sizeof. */
967 #define SIZEOF_LONG 4
969 /* The size of a `long double', as computed by sizeof. */
970 #define SIZEOF_LONG_DOUBLE 8
972 /* The size of a `long long', as computed by sizeof. */
973 #undef SIZEOF_LONG_LONG
975 /* The size of a `ptrdiff_t', as computed by sizeof. */
976 #define SIZEOF_PTRDIFF_T 4
978 /* The size of a `short', as computed by sizeof. */
979 #define SIZEOF_SHORT 2
981 /* The size of a `size_t', as computed by sizeof. */
982 #define SIZEOF_SIZE_T 4
984 /* The size of a `wint_t', as computed by sizeof. */
985 #define SIZEOF_WINT_T 2
987 /* Define as the maximum value of type 'size_t', if the system doesn't define
989 #define SIZE_MAX (~(size_t)0)
991 /* If using the C implementation of alloca, define if you know the
992 direction of stack growth for your system; otherwise it will be
993 automatically deduced at run-time.
994 STACK_DIRECTION > 0 => grows toward higher addresses
995 STACK_DIRECTION < 0 => grows toward lower addresses
996 STACK_DIRECTION = 0 => direction of growth unknown */
997 #undef STACK_DIRECTION
999 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1000 #define STAT_MACROS_BROKEN 1
1002 /* Define to 1 if you have the ANSI C header files. */
1003 #define STDC_HEADERS 1
1005 /* Define to 1 if strerror_r returns char *. */
1006 #undef STRERROR_R_CHAR_P
1008 /* Enable support for the pre 1.12.1 *info scripting hook format strings.
1009 Disable this option for a smaller executable once your scripting hooks have
1010 been updated to use the new *info format strings by passing
1011 "--disable-old-info-format-support" option to configure or by commenting
1012 out the line below. */
1013 #undef SUPPORT_OLD_INFO_FMT_STRINGS
1015 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1016 #undef TIME_WITH_SYS_TIME
1018 /* Directory used for storing temporary files, if not overridden by
1019 environment variables or the -T global option. There should be little need
1020 to change this (-T is a better mechanism if you need to use a different
1021 directory for temporary files). */
1022 #define TMPDIR_DFLT "c:\\temp"
1024 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
1025 #undef TM_IN_SYS_TIME
1027 /* Define if tzset clobbers localtime's static buffer. */
1028 #undef TZSET_CLOBBERS_LOCALTIME_BUFFER
1030 /* Define to its maximum value if an unsigned integer type of width exactly 32
1031 bits exists and the standard includes do not define UINT32_MAX. */
1034 /* The default umask to use when creating or otherwise setting file or
1035 directory permissions in the repository. Must be a value in the range of 0
1036 through 0777. For example, a value of 002 allows group rwx access and world
1037 rx access; a value of 007 allows group rwx access but no world access. This
1038 value is overridden by the value of the CVSUMASK environment variable,
1039 which is interpreted as an octal number. */
1040 #define UMASK_DFLT 002
1042 /* Define if double is the first floating point type detected with its size.
1044 #undef UNIQUE_FLOAT_TYPE_DOUBLE
1046 /* Define if float is the first floating point type detected with its size. */
1047 #undef UNIQUE_FLOAT_TYPE_FLOAT
1049 /* Define if long double is the first floating point type detected with its
1051 #undef UNIQUE_FLOAT_TYPE_LONG_DOUBLE
1053 /* Define if char is the first integer type detected with its size. */
1054 #undef UNIQUE_INT_TYPE_CHAR
1056 /* Define if int is the first integer type detected with its size. */
1057 #undef UNIQUE_INT_TYPE_INT
1059 /* Define if intmax_t is the first integer type detected with its size. */
1060 #undef UNIQUE_INT_TYPE_INTMAX_T
1062 /* Define if long int is the first integer type detected with its size. */
1063 #undef UNIQUE_INT_TYPE_LONG
1065 /* Define if long long is the first integer type detected with its size. */
1066 #undef UNIQUE_INT_TYPE_LONG_LONG
1068 /* Define if ptrdiff_t is the first integer type detected with its size. */
1069 #undef UNIQUE_INT_TYPE_PTRDIFF_T
1071 /* Define if short is the first integer type detected with its size. */
1072 #undef UNIQUE_INT_TYPE_SHORT
1074 /* Define if size_t is the first integer type detected with its size. */
1075 #undef UNIQUE_INT_TYPE_SIZE_T
1077 /* Define if wint_t is the first integer type detected with its size. */
1078 #undef UNIQUE_INT_TYPE_WINT_T
1080 /* Define if setmode is required when writing binary data to stdout. */
1081 #define USE_SETMODE_STDOUT 1
1083 /* Define to 1 if you want getc etc. to use unlocked I/O if available.
1084 Unlocked I/O can improve performance in unithreaded apps, but it is not
1085 safe for multithreaded apps. */
1086 #undef USE_UNLOCKED_IO
1088 /* Define if utime requires write access to the file (true on Windows, but not
1090 #define UTIME_EXPECTS_WRITABLE
1092 /* Define if unsetenv() returns void, not int. */
1093 #undef VOID_UNSETENV
1095 /* Define to 1 if your processor stores words with the most significant byte
1096 first (like Motorola and SPARC, unlike Intel and VAX). */
1097 #undef WORDS_BIGENDIAN
1099 /* Define to 1 if on AIX 3.
1100 System headers sometimes define this.
1101 We just want to avoid a redefinition error message. */
1106 /* Number of bits in a file offset, on hosts where this is settable. */
1107 #undef _FILE_OFFSET_BITS
1109 /* Enable GNU extensions on systems that have them. */
1114 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1115 #undef _LARGEFILE_SOURCE
1117 /* Define for large files, on AIX-style hosts. */
1120 /* Define to 1 if on MINIX. */
1123 /* Define to 2 if the system does not provide POSIX.1 features except with
1125 #undef _POSIX_1_SOURCE
1127 /* Define to 1 if you need to in order for `stat' and other things to work. */
1128 #undef _POSIX_SOURCE
1130 /* Define if you want regoff_t to be at least as wide POSIX requires. */
1131 #undef _REGEX_LARGE_OFFSETS
1133 /* Define to force lib/regex.c to define re_comp et al. */
1134 #define _REGEX_RE_COMP 1
1136 /* Define for Solaris 2.5.1 so uint32_t typedef from <sys/synch.h>,
1137 <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
1138 #define below would cause a syntax error. */
1141 /* Enable extensions on Solaris. */
1142 #ifndef __EXTENSIONS__
1143 # undef __EXTENSIONS__
1145 #ifndef _POSIX_PTHREAD_SEMANTICS
1146 # undef _POSIX_PTHREAD_SEMANTICS
1149 /* Define to rpl_ if the getcwd replacement function should be used. */
1150 #undef __GETCWD_PREFIX
1152 /* Define to rpl_ if the getopt replacement functions and variables should be
1154 #define __GETOPT_PREFIX rpl_
1156 /* Define to rpl_ if the openat replacement function should be used. */
1157 #undef __OPENAT_PREFIX
1159 /* Define to empty if `const' does not conform to ANSI C. */
1162 /* Define to a replacement function name for fnmatch(). */
1165 /* Define to a replacement function name for getline(). */
1168 /* Define to a replacement function name for getpass(). */
1171 /* Define to rpl_gettimeofday if the replacement function should be used. */
1174 /* Define to `int' if <sys/types.h> doesn't define. */
1177 /* Define to rpl_gmtime if the replacement function should be used. */
1180 /* Define to `__inline__' or `__inline' if that's what the C compiler
1181 calls it, or to nothing if 'inline' is not supported under any name. */
1183 #define inline __inline
1186 /* Define to long or long long if <inttypes.h> and <stdint.h> don't define. */
1189 /* Define to rpl_localtime if the replacement function should be used. */
1192 /* Define to rpl_malloc if the replacement function should be used. */
1195 /* Define to a type if <wchar.h> does not define. */
1198 /* Define to rpl_mkdir if the replacement function should be used. */
1201 /* Define to rpl_mkstemp if the replacement function should be used. */
1204 /* Define to rpl_mktime if the replacement function should be used. */
1207 /* Define to `int' if <sys/types.h> does not define. */
1210 /* Define to the name of the strftime replacement function. */
1211 #define my_strftime nstrftime
1213 /* Define to rpl_nanosleep if the replacement function should be used. */
1214 #define nanosleep woe32_nanosleep
1216 /* Define to `int' if <sys/types.h> does not define. */
1219 /* Define to rpl_realloc if the replacement function should be used. */
1220 #define realloc rpl_realloc
1222 /* Define to rpl_rename if the replacement function should be used. */
1225 /* Define to equivalent of C99 restrict keyword, or to nothing if this is not
1226 supported. Do not define if restrict is supported directly. */
1229 /* Define to rpl_select if the replacement function should be used. */
1232 /* Define to empty if the C compiler doesn't support this keyword. */
1235 /* Define to `unsigned' if <sys/types.h> does not define. */
1238 /* Define as a signed type of the same size as size_t. */
1241 /* Define to rpl_strcasecmp always. */
1242 #define strcasecmp rpl_strcasecmp
1244 /* Define to rpl_tzset if the wrapper function should be used. */
1247 /* Define to `int' if <sys/types.h> doesn't define. */
1250 /* Define to the type of a unsigned integer type of width exactly 32 bits if
1251 such a type exists and the standard includes do not define it. */
1254 /* Define to unsigned long or unsigned long long if <stdint.h> and
1255 <inttypes.h> don't define. */
1258 /* Define as `fork' if `vfork' does not work. */
1260 /*============================================================================*/
1261 /* config.h.in.footer: configuration file for Windows NT
1262 Conrad T. Pino <Conrad@Pino.com> --- May 2004 */
1264 /* This file lives in the windows-NT subdirectory, which is only included
1265 in your header search path if you're working under Microsoft Visual C++,
1266 and use ../cvsnt.mak for your project. Thus, this is the right place to
1267 put configuration information for Windows NT. */
1269 /* This file is getting chaotic and will be organized as follows:
1271 Macros appears first alphabetized in case sensitive order.
1272 Typedefs appear next alphabetized in case sensitive order.
1273 Function prototypes alphabetized in case sensitive order.
1275 Reorgnized by Conrad T. Pino <Conrad@Pino.com> May 25, 2005 */
1277 /* just one time please */
1282 /* ======================= Macro Definnitions Follow ====================== */
1284 /* Under Windows NT, mkdir only takes one argument. */
1285 #define CVS_MKDIR wnt_mkdir
1287 #define CVS_RENAME wnt_rename
1289 /* This is where old bits go to die under Windows NT. */
1290 #define DEVNULL "nul"
1292 /* Windows has no ELOOP value in errno.h */
1293 #define ELOOP EMLINK
1295 /* Windows has _snprintf function.
1296 HAVE_DECL__SNPRINTF used in ../lib/vasnprintf.c */
1297 #define HAVE_DECL__SNPRINTF 1
1299 #define HAVE_WINSOCK_H
1301 /* This tells the client that it must use send()/recv() to talk to the
1302 server if it is connected to the server via a socket; Win95 needs
1303 it because _open_osfhandle doesn't work. */
1304 #define NO_SOCKET_TO_FD 1
1306 /* Is this true on NT? Seems like I remember reports that NT 3.51 has
1307 problems with 200K writes (of course, the issue of large writes is
1308 moot since the use of buffer.c ensures that writes will only be as big
1310 #define SEND_NEVER_PARTIAL 1
1312 /* Stop server macro */
1313 #define SHUTDOWN_SERVER wnt_shutdown_server
1315 /* This tells the client that, in addition to needing to use
1316 send()/recv() to do socket I/O, the error codes for send()/recv()
1317 and other socket operations are not available through errno.
1318 Instead, this macro should be used to obtain an error code. */
1319 #define SOCK_ERRNO (WSAGetLastError ())
1321 /* This tells the client that, in addition to needing to use
1322 send()/recv() to do socket I/O, the error codes for send()/recv()
1323 and other socket operations are not known to strerror. Instead,
1324 this macro should be used to convert the error codes to strings. */
1325 #define SOCK_STRERROR sock_strerror
1327 /* Start server macro */
1328 #define START_SERVER wnt_start_server
1330 /* The internal rsh client uses sockets not file descriptors. Note
1331 that as the code stands now, it often takes values from a SOCKET and
1332 puts them in an int. This is ugly but it seems like sizeof
1333 (SOCKET) <= sizeof (int) on win32, even the 64-bit variants. */
1334 #define START_SERVER_RETURNS_SOCKET 1
1336 /* Macro name tells the story */
1337 #define SYSTEM_CLEANUP woe32_cleanup
1339 /* Macro name tells the story */
1340 #define SYSTEM_INITIALIZE(pargc,pargv) woe32_init_winsock()
1343 * According to GNU conventions, we should avoid referencing any macro
1344 * containing "WIN" as a reference to Microsoft Windows, as we would like to
1345 * avoid any implication that we consider Microsoft Windows any sort of "win".
1347 * FIXME: As of 2003-06-09, folks on the GNULIB project were discussing
1348 * defining a configure macro to define WOE32 appropriately. If they ever do
1349 * write such a beast, we should use it, though in most cases it would be
1350 * preferable to avoid referencing any OS or compiler anyhow, per Autoconf
1351 * convention, and reference only tested features of the system.
1353 * re FIXME: This definition would still be necessary since systems which run
1354 * configure do not use this config.h and vice-versa.
1358 /* Define POSIX name to Microsoft name */
1361 /* getpagesize is missing on Windows, 4096 does the right thing. */
1362 #define getpagesize() 4096
1364 /* Define to a substitute for the `lstat' function. */
1367 /* Define POSIX name to Microsoft name */
1368 #define popen _popen
1370 /* Define POSIX name to Microsoft name */
1371 #define pclose _pclose
1373 /* Diff needs us to define this. I think it could always be
1374 -1 for CVS, because we pass temporary files to diff, but
1375 config.h seems like the easiest place to put this, so for
1376 now we put it here. */
1377 #define same_file(s,t) (-1)
1379 /* Define to a substitute for the stat function. */
1380 #define stat wnt_stat
1382 /* ====================== Typedef Declarations Follow ===================== */
1384 /* ====================== Function Prototypes Follow ====================== */
1388 /* #define SOCK_STRERROR sock_strerror */
1389 char *sock_strerror (int errnum);
1391 /* #define CVS_MKDIR wnt_mkdir */
1392 int wnt_mkdir (const char *PATH, int MODE);
1394 /* #define CVS_RENAME wnt_rename */
1395 int wnt_rename (const char *, const char *);
1397 /* #define SHUTDOWN_SERVER wnt_shutdown_server */
1398 void wnt_shutdown_server (int fd);
1400 /* #define START_SERVER wnt_start_server */
1401 void wnt_start_server (int *tofd, int *fromfd,
1405 char *server_cvsroot);
1407 /* #define stat wnt_stat and #define lstat wnt_stat */
1408 int wnt_stat (const char *file, struct wnt_stat *sb);
1410 /* =============== Special mkdir Prototype Handling Follows =============== */
1413 #define mkdir wnt_mkdir
1415 /* ===================== Special Function Definitions ===================== */
1418 Microsoft defines "mbinit" in <wchar.h> for C++ code only.
1420 Expect link errors for versions:
1422 earlier than Visual C++ 5.0
1424 later than Visual C++ .NET 2003
1426 and Visual C++ .NET is just a guess which might be wrong.
1429 #if _MSC_VER >= 1100 && _MSC_VER <= 1200
1431 /* If within Visual C++ 5.0 to Visual C++ 6.0 */
1433 inline int mbsinit (const void * arg)
1436 #elif _MSC_VER >= 1300 && _MSC_VER <= 1310
1438 /* If within Visual C++ .NET to Visual C++ .NET 2003 */
1440 inline int mbsinit (const int * arg)
1441 { return arg == NULL || ! *arg; }
1445 /* =========================== End Of This File =========================== */