X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=windows%2Fconfig.h.bor;h=16abcd2b4d1de2b85af092e9631d974c60838a58;hb=a41d45a9f3cfa36999ea0ca661929a4ff4441a26;hp=60a629e0839709ed666dd81973cddd629608ea89;hpb=199676dbcb7b5dd41de50162d7b9bc0aa229c91a;p=wget diff --git a/windows/config.h.bor b/windows/config.h.bor index 60a629e0..16abcd2b 100644 --- a/windows/config.h.bor +++ b/windows/config.h.bor @@ -1,5 +1,6 @@ /* Configuration header file. - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 2004 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,34 +14,45 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + In addition, as a special exception, the Free Software Foundation + gives permission to link the code of its release of Wget with the + OpenSSL project's "OpenSSL" library (or with modified versions of it + that use the same license as the "OpenSSL" library), and distribute + the linked executables. You must obey the GNU General Public License + in all respects for all of the code used other than "OpenSSL". If you + modify this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. */ #ifndef CONFIG_H #define CONFIG_H -#define HAVE_MEMMOVE +#define HAVE_SNPRINTF 1 + +#define HAVE_MEMMOVE 1 #define ftruncate chsize #define inline __inline +/* Define if the free Borland C++Builder 5.5 command-line compiler is used, + because its utime() has a bug. */ +#define HACK_BCC_UTIME_BUG + +#ifdef HACK_BCC_UTIME_BUG +#define utime borland_utime +#endif + /* Define if you have the header file. */ #undef HAVE_ALLOCA_H -/* For Borland C++ 5.5, alloca is defined in the header file. */ -#include - /* Define to empty if the keyword does not work. */ /* #undef const */ /* Define to `unsigned' if doesn't define. */ /* #undef size_t */ -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define as the return type of signal handlers (int or void). */ -#define RETSIGTYPE int - /* Define if your architecture is big endian (with the most significant byte first). */ #undef WORDS_BIGENDIAN @@ -49,50 +61,31 @@ #undef ENABLE_NLS /* Define if you want the FTP support for Opie compiled in. */ -#define USE_OPIE 1 +#define ENABLE_OPIE 1 /* Define if you want the HTTP Digest Authorization compiled in. */ -#define USE_DIGEST 1 +#define ENABLE_DIGEST 1 + +/* Define if you want the NTLM authorization support compiled in. */ +#ifdef HAVE_SSL +# define ENABLE_NTLM +#endif /* Define if you want the debug output support compiled in. */ -#define DEBUG +#define ENABLE_DEBUG 1 /* Define if you have sys/time.h header. */ #undef HAVE_SYS_TIME_H -/* Define if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME - /* Define if you have struct utimbuf. */ #define HAVE_STRUCT_UTIMBUF 1 /* Define if you have the gethostbyname function. */ /* #undef HAVE_GETHOSTBYNAME */ -/* Define if you have the uname function. */ -#undef HAVE_UNAME - -/* Define if you have the gethostname function. */ -#define HAVE_GETHOSTNAME 1 - -/* Define if you have the select function. */ -#define HAVE_SELECT 1 - -/* Define if you have the gettimeofday function. */ -#undef HAVE_GETTIMEOFDAY - /* Define if you have the strdup function. */ #define HAVE_STRDUP 1 -/* Define if you have the sys/utsname.h header. */ -#undef HAVE_SYS_UTSNAME_H - -/* Define if you have the strerror function. */ -#define HAVE_STRERROR 1 - -/* Define if you have the strstr function. */ -#define HAVE_STRSTR 1 - /* Define if you have the strcasecmp function. */ #define HAVE_STRCASECMP 1 @@ -102,26 +95,10 @@ /* Define if you have the strptime function. */ #undef HAVE_STRPTIME -/* Define if you have the mktime function. */ -#define HAVE_MKTIME 1 - /* Define if you have the symlink function. */ #undef HAVE_SYMLINK -/* Define if you have the signal function. */ -#undef HAVE_SIGNAL - -/* Define if you have the header file. */ -#define HAVE_STDARG_H 1 - -/* Define if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the header file. */ -#define HAVE_STRING_H 1 - /* Define if you have the header file. */ -/* #define HAVE_UNISTD_H 1 */ #undef HAVE_UNISTD_H /* Define if you have the header file. */ @@ -136,20 +113,11 @@ /* Define if you have the header file. */ #undef HAVE_PWD_H -/* Define if you have the header file. */ -#undef HAVE_SIGNAL_H - /* Define to be the name of the operating system. */ #define OS_TYPE "Windows" #define CTRLBREAK_BACKGND 1 -/* Define if you wish to compile with socks support. */ -/* #undef HAVE_SOCKS */ - -/* Define to 1 if ANSI function prototypes are usable. */ -#define PROTOTYPES 1 - /* Define if we're compiling in support for MD5. */ #define HAVE_MD5 1 @@ -160,7 +128,21 @@ #define HAVE_BUILTIN_MD5 1 /* Define if you have the isatty function. */ -#define HAVE_ISATTY +#define HAVE_ISATTY 1 + +/* Define to the length of short. */ +#define SIZEOF_SHORT 2 + +/* Define to the length of int. */ +#define SIZEOF_INT 4 + +/* Define to the length of long. */ +#define SIZEOF_LONG 4 + +/* Defined to int or size_t on systems without socklen_t. */ +#define socklen_t int +/* Define if you have uint32_t. */ +/* #define HAVE_UINT32_T */ #endif /* CONFIG_H */