X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=config.h;h=f0e09d38f8dcf974759cfc43ae79c0d03eeb0adf;hb=refs%2Ftags%2Fv4.3.14;hp=ff433ae187ef3d2314877c69e3d6c7756e54f441;hpb=3076655d51195e09429c2abde2763e917d3a67a9;p=xboard.git diff --git a/config.h b/config.h index ff433ae..f0e09d3 100644 --- a/config.h +++ b/config.h @@ -1,133 +1,142 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have that is POSIX.1 compatible. */ -/*#undef HAVE_SYS_WAIT_H*/ - -/* Define if you need to in order for stat and other things to work. */ -/*#undef _POSIX_SOURCE*/ - -/* Define as the return type of signal handlers (int or void). */ -/*#undef RETSIGTYPE*/ - -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define if you can safely include both and . */ -/*#undef TIME_WITH_SYS_TIME*/ - -/* Define if lex declares yytext as a char * by default, not a char[]. */ -/*#undef YYTEXT_POINTER*/ - -/*#define FIRST_PTY_LETTER 'p'*/ - -#define HAVE_FCNTL_H 1 - -#define HAVE_GETHOSTNAME 0 - -#define HAVE_GETTIMEOFDAY 0 - -/* Use our own random() defined in winboard.c. */ -#define HAVE_RANDOM 1 -#define random myrandom -#define srandom mysrandom - -#define HAVE_SYS_SOCKET_H 0 - -/*#undef IBMRTAIX*/ - -#define LAST_PTY_LETTER 'q' - -#define PATCHLEVEL "7" - -#define PRODUCT "WinBoard" - -#define PTY_ITERATION - -#define PTY_NAME_SPRINTF - -#define PTY_TTY_NAME_SPRINTF - -#define REMOTE_SHELL "" - -/*#undef RTU*/ - -/*#undef UNIPLUS*/ - -#define USE_PTYS 0 - -#define VERSION "4.2" - -/*#undef X_WCHAR*/ - -#ifndef __BORLANDC__ -#define WIN32 1 -#else -#define WIN32 -#endif - -#define ZIPPY 1 - -/* Define if you have the _getpty function. */ -/*#undef HAVE__GETPTY*/ - -/* Define if you have the ftime function. */ -#define HAVE_FTIME 1 - -/* Define if you have the grantpt function. */ -/*#undef HAVE_GRANTPT*/ - -/* Define if you have the rand48 function. */ -/*#undef HAVE_RAND48*/ - -/* Define if you have the sysinfo function. */ -/*#undef HAVE_SYSINFO*/ - -/* Define if you have the header file. */ -/*#undef HAVE_LAN_SOCKET_H*/ - -/* Define if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the header file. */ -/*#undef HAVE_STROPTS_H*/ - -/* Define if you have the header file. */ -#define HAVE_SYS_FCNTL_H 0 - -/* Define if you have the header file. */ -/*#undef HAVE_SYS_SYSTEMINFO_H*/ - -/* Define if you have the header file. */ -/*#undef HAVE_SYS_TIME_H*/ - -/* Define if you have the header file. */ -/*#undef HAVE_UNISTD_H*/ - -/* Define if you have the i library (-li). */ -/*#undef HAVE_LIBI*/ - -/* Define if you have the seq library (-lseq). */ -/*#undef HAVE_LIBSEQ*/ - -/* - Options - -DEMULATE_RSH -DREMOTE_SHELL=\"\" is necessary on Windows 95, because it - does not have its own rsh command. It works better this way on NT too, - because the NT rsh does not propagate signals to the remote process. - -DATTENTION is included even though I haven't been able to send signals to - child processes on Windows, because at least I can send them over rsh to - Unix programs. On Windows I send a newline instead, which wakes up the - chess program if it's polling. On my GNU Chess port the newline actually - works even for Move Now. -*/ -#define EMULATE_RSH 1 -#define ATTENTION 1 - -#ifdef __BORLANDC__ -#define _strdup(x) strdup(x) -#define STRICT -#define _winmajor 3 /* windows 95 */ -#define SCF_DEFAULT 0x0000 -#define SCF_ALL 0x0004 -#endif - +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* [HGM] Defining ADJUDICATE switches on rep-draw and insuf-material draws */ +#define ADJUDICATE + +/* [HGM] Defining FAIRY allows different K- & Q-side piece symbols */ +#define FAIRY + +#define GOTHIC "Gothic Chess (see www.GothicChess.com) is licensed under U.S. Patent #6,481,716 by Ed Trice" +#define FALCON "Falcon Chess (see www.chessvariants.com) is licensed under U.S. Patent #5,690,334 by George W. Duke" + +/* Define if you have that is POSIX.1 compatible. */ +/*#undef HAVE_SYS_WAIT_H*/ + +/* Define if you need to in order for stat and other things to work. */ +/*#undef _POSIX_SOURCE*/ + +/* Define as the return type of signal handlers (int or void). */ +/*#undef RETSIGTYPE*/ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +/*#undef TIME_WITH_SYS_TIME*/ + +/* Define if lex declares yytext as a char * by default, not a char[]. */ +/*#undef YYTEXT_POINTER*/ + +/*#define FIRST_PTY_LETTER 'p'*/ + +#define HAVE_FCNTL_H 1 + +#define HAVE_GETHOSTNAME 0 + +#define HAVE_GETTIMEOFDAY 0 + +/* Use our own random() defined in winboard.c. */ +#define HAVE_RANDOM 1 +#define random myrandom +#define srandom mysrandom + +#define HAVE_SYS_SOCKET_H 0 + +/*#undef IBMRTAIX*/ + +#define LAST_PTY_LETTER 'q' + +#define PATCHLEVEL "13c" + +#define PRODUCT "WinBoard" + +#define PTY_ITERATION + +#define PTY_NAME_SPRINTF + +#define PTY_TTY_NAME_SPRINTF + +#define REMOTE_SHELL "" + +/*#undef RTU*/ + +/*#undef UNIPLUS*/ + +#define USE_PTYS 0 + +#define VERSION "4.3" + +/*#undef X_WCHAR*/ + +#ifndef __BORLANDC__ +#define WIN32 1 +#else +#define WIN32 +#endif + +#define ZIPPY 1 + +/* Define if you have the _getpty function. */ +/*#undef HAVE__GETPTY*/ + +/* Define if you have the ftime function. */ +#define HAVE_FTIME 1 + +/* Define if you have the grantpt function. */ +/*#undef HAVE_GRANTPT*/ + +/* Define if you have the rand48 function. */ +/*#undef HAVE_RAND48*/ + +/* Define if you have the sysinfo function. */ +/*#undef HAVE_SYSINFO*/ + +/* Define if you have the header file. */ +/*#undef HAVE_LAN_SOCKET_H*/ + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +/*#undef HAVE_STROPTS_H*/ + +/* Define if you have the header file. */ +#define HAVE_SYS_FCNTL_H 0 + +/* Define if you have the header file. */ +/*#undef HAVE_SYS_SYSTEMINFO_H*/ + +/* Define if you have the header file. */ +/*#undef HAVE_SYS_TIME_H*/ + +/* Define if you have the header file. */ +/*#undef HAVE_UNISTD_H*/ + +/* Define if you have the i library (-li). */ +/*#undef HAVE_LIBI*/ + +/* Define if you have the seq library (-lseq). */ +/*#undef HAVE_LIBSEQ*/ + +/* + Options + -DEMULATE_RSH -DREMOTE_SHELL=\"\" is necessary on Windows 95, because it + does not have its own rsh command. It works better this way on NT too, + because the NT rsh does not propagate signals to the remote process. + -DATTENTION is included even though I haven't been able to send signals to + child processes on Windows, because at least I can send them over rsh to + Unix programs. On Windows I send a newline instead, which wakes up the + chess program if it's polling. On my GNU Chess port the newline actually + works even for Move Now. +*/ +#define EMULATE_RSH 1 +#define ATTENTION 1 + +#ifdef __BORLANDC__ +#define _strdup(x) strdup(x) +#define STRICT +#define _winmajor 3 /* windows 95 */ +#define SCF_DEFAULT 0x0000 +#define SCF_ALL 0x0004 +#endif +