2006-04-18 17:21:59 +00:00
|
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
2006-02-17 13:35:04 +00:00
|
|
|
|
2009-05-06 08:00:57 +00:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
|
|
*/
|
|
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
|
|
#undef C_ALLOCA
|
|
|
|
|
2006-08-21 13:18:51 +00:00
|
|
|
/* Define to 1 if asynchronous DNS support is enabled. */
|
|
|
|
#undef ENABLE_ASYNC_DNS
|
|
|
|
|
2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* configure.in: Added gnutls support. Added several CPP macros.
* m4/openssl.m4: Added.
* src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
readData(), peekData(). Added gnutls support.
* src/HttpDownloadCommand.cc: Removed SleepCommand.h
* src/TrackerWatcherCommand.{h,cc}: Added. This command creates
TrackerInitCommand periodicaly(TorrentMan::minInterval).
* src/TorrentMan.cc: Remove downloadedSize == 0 check from
save().
Instead, added a check for whether setup method has executed
successfully.
* src/TorrentMan.h: Added member vaiable setupComplete. Updated
DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to
300.
* src/Makefile.am: Updated.
* src/messageDigest.h: Added. This is a macro calculating SHA1
digest
using whether OpenSSL or gcrypt, depending on the result of
configure
script.
* src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by
using
messageDigest.h.
* src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
* src/PeerListenCommand.cc: Added log about port binded
successfully.
Fixed memory leak.
* src/main.cc: Added gnutls support. Replaced LIB_SSL with
ENABLE_BITTORRENT where they are not related to OpenSSL but
BitTorrent.
Removed instantiation of TrackerInitCommand. Instead,
TrackerWatcherCommand is instantiated and pushed to the command
queue.
* src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL
with
ENABLE_SSL.
* src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
* src/RequestSlotMan.cc:
(deleteCompletedRequestSlot)
If a piece is already acquired by another command, delete the
request
slots for the piece.
* src/TrackerUpdateCommand.cc:
(execute)
Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to
warn.
Added a check whether peer list is null.
Fixed the bug that causes sending completed event to the tracker
several times.
* src/TrackerInitCommand.cc:
(execute)
Fixed the bug that causes sending completed event to the tracker
several times.
* src/AbstractDiskWriter.{h,cc}: Removed direct dependency on
OpenSSL
by using messageDigest.h.
2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* PeerConnection.cc: Replaced log message "keep-alive" with
"keep alive".
* PeerInteractionCommand.{h,cc}: Close connection if peer is
choking
localhost long time.
* TorrentMan.cc: When adding new peer with duplicate = true, if
the
number of peer list is equal to or grater than MAX_PEER_LIST,
delete
at most 100 failure entry from the list. If with duplicate =
false,
MAX_PEER_LIST is not checked.
* PeerListenCommand.cc: Fixed the argument order of log message.
2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
Added warn().
* SimpleLogger.h: Moved enum LEVEL to Logger.h.
Implemented warn().
Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated
code.
2006-03-27 14:47:26 +00:00
|
|
|
/* Define to 1 if BitTorrent support is enabled. */
|
|
|
|
#undef ENABLE_BITTORRENT
|
|
|
|
|
2006-07-04 10:57:56 +00:00
|
|
|
/* Define to 1 if message digest support is enabled. */
|
|
|
|
#undef ENABLE_MESSAGE_DIGEST
|
|
|
|
|
2006-07-03 14:19:23 +00:00
|
|
|
/* Define to 1 if Metalink support is enabled. */
|
|
|
|
#undef ENABLE_METALINK
|
|
|
|
|
2006-03-02 10:43:00 +00:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
|
|
|
#undef ENABLE_NLS
|
|
|
|
|
2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* configure.in: Added gnutls support. Added several CPP macros.
* m4/openssl.m4: Added.
* src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
readData(), peekData(). Added gnutls support.
* src/HttpDownloadCommand.cc: Removed SleepCommand.h
* src/TrackerWatcherCommand.{h,cc}: Added. This command creates
TrackerInitCommand periodicaly(TorrentMan::minInterval).
* src/TorrentMan.cc: Remove downloadedSize == 0 check from
save().
Instead, added a check for whether setup method has executed
successfully.
* src/TorrentMan.h: Added member vaiable setupComplete. Updated
DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to
300.
* src/Makefile.am: Updated.
* src/messageDigest.h: Added. This is a macro calculating SHA1
digest
using whether OpenSSL or gcrypt, depending on the result of
configure
script.
* src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by
using
messageDigest.h.
* src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
* src/PeerListenCommand.cc: Added log about port binded
successfully.
Fixed memory leak.
* src/main.cc: Added gnutls support. Replaced LIB_SSL with
ENABLE_BITTORRENT where they are not related to OpenSSL but
BitTorrent.
Removed instantiation of TrackerInitCommand. Instead,
TrackerWatcherCommand is instantiated and pushed to the command
queue.
* src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL
with
ENABLE_SSL.
* src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
* src/RequestSlotMan.cc:
(deleteCompletedRequestSlot)
If a piece is already acquired by another command, delete the
request
slots for the piece.
* src/TrackerUpdateCommand.cc:
(execute)
Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to
warn.
Added a check whether peer list is null.
Fixed the bug that causes sending completed event to the tracker
several times.
* src/TrackerInitCommand.cc:
(execute)
Fixed the bug that causes sending completed event to the tracker
several times.
* src/AbstractDiskWriter.{h,cc}: Removed direct dependency on
OpenSSL
by using messageDigest.h.
2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* PeerConnection.cc: Replaced log message "keep-alive" with
"keep alive".
* PeerInteractionCommand.{h,cc}: Close connection if peer is
choking
localhost long time.
* TorrentMan.cc: When adding new peer with duplicate = true, if
the
number of peer list is equal to or grater than MAX_PEER_LIST,
delete
at most 100 failure entry from the list. If with duplicate =
false,
MAX_PEER_LIST is not checked.
* PeerListenCommand.cc: Fixed the argument order of log message.
2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
Added warn().
* SimpleLogger.h: Moved enum LEVEL to Logger.h.
Implemented warn().
Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated
code.
2006-03-27 14:47:26 +00:00
|
|
|
/* Define to 1 if ssl support is enabled. */
|
|
|
|
#undef ENABLE_SSL
|
|
|
|
|
2009-05-15 08:24:56 +00:00
|
|
|
/* Define to 1 if XML-RPC support is enabled. */
|
|
|
|
#undef ENABLE_XML_RPC
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `alarm' function. */
|
|
|
|
#undef HAVE_ALARM
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
|
|
#undef HAVE_ALLOCA
|
|
|
|
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
|
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the `argz_count' function. */
|
|
|
|
#undef HAVE_ARGZ_COUNT
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the <argz.h> header file. */
|
|
|
|
#undef HAVE_ARGZ_H
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the `argz_next' function. */
|
|
|
|
#undef HAVE_ARGZ_NEXT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `argz_stringify' function. */
|
|
|
|
#undef HAVE_ARGZ_STRINGIFY
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
|
2008-06-16 11:19:45 +00:00
|
|
|
/* Define to 1 if you have the `asctime_r' function. */
|
|
|
|
#undef HAVE_ASCTIME_R
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the `asprintf' function. */
|
|
|
|
#undef HAVE_ASPRINTF
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `atexit' function. */
|
|
|
|
#undef HAVE_ATEXIT
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `basename' function. */
|
|
|
|
#undef HAVE_BASENAME
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if the compiler understands __builtin_expect. */
|
|
|
|
#undef HAVE_BUILTIN_EXPECT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
|
|
|
CoreFoundation framework. */
|
|
|
|
#undef HAVE_CFLOCALECOPYCURRENT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
|
|
|
the CoreFoundation framework. */
|
|
|
|
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `daemon' function. */
|
|
|
|
#undef HAVE_DAEMON
|
|
|
|
|
2006-03-02 10:43:00 +00:00
|
|
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DCGETTEXT
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
|
|
|
you don't. */
|
|
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL__SNPRINTF
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL__SNWPRINTF
|
|
|
|
|
2006-02-17 18:51:12 +00:00
|
|
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
|
|
#undef HAVE_DOPRNT
|
|
|
|
|
2009-01-15 15:23:16 +00:00
|
|
|
/* Define to 1 if epoll is available. */
|
|
|
|
#undef HAVE_EPOLL
|
|
|
|
|
2008-05-31 10:31:07 +00:00
|
|
|
/* Define to 1 if you have the `epoll_create' function. */
|
|
|
|
#undef HAVE_EPOLL_CREATE
|
|
|
|
|
2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
MessageDigestHelper is introduced in order to simplify the use
of message digest. Removed repeated code.
The message digest algorithm is now specified by string, like
"sha1",
"md5".
* src/messageDigest.{h, cc}
* src/MessageDigestHelper.{h, cc}: New class.
* src/DefaultPieceStorage.cc
* src/DefaultBtContext.{h, cc}
(computeFastSet): New function.
(setInfoHash): Added for unit testing.
(setNumPieces): Added for unit testing.
* src/DefaultBtInteractive.cc
* src/BtPieceMessage.cc
* src/Peer.cc
* src/Checksum.h
* src/message.h
* src/IteratableChecksumValidator.h
* src/ChunkChecksumValidator.{h, cc}: Use
IteratableChecksumValidator
inside it.
* src/SegmentMan.{h, cc}
(checkIntegrity): Removed.
* src/IteratableChunkChecksumValidator.{h, cc}
* src/Util.h
(sha1Sum): Removed.
(simpleMessageDigest): Removed.
(fileChecksum): Removed.
(computeFastSet): Removed.
* src/ShaVisitor.cc
* src/ChunkChecksum.h
* src/DownloadCommand.cc
Removed messageDigest virtual functions.
* src/MultiDiskAdaptor.{h, cc}
* src/DiskAdaptor.h
* src/ByteArrayDiskWriter.h
* src/DiskWriter.h
* src/DiskAdaptorWriter.h
* src/AbstractSingleDiskAdaptor.{h, cc}
* src/AbstractDiskWriter.{h, cc}
Fixed comilation error when message digest is disabled.
* src/MetalinkEntry.{h, cc}
* src/MetalinkRequestInfo.cc
Removed srandom and random.
* src/SimpleRandomizer.h
Added size() virtual function to DiskAdaptor
* src/MultiDiskAdaptor.h
Fixed the bug that causes that files are not opened correctly in
multi-file torrent.
* src/TorrentRequestInfo.cc
* src/MultiDiskAdaptor.cc
Added SHA256 support
* src/messageDigest.cc
* src/Xml2MetalinkProcessor.cc
Show supported message digest algorithms
* src/main.cc
Updated contact info.
* src/main.cc
2007-08-08 14:40:11 +00:00
|
|
|
/* Define to 1 if you have the `EVP_DigestInit_ex' function. */
|
|
|
|
#undef HAVE_EVP_DIGESTINIT_EX
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `EVP_sha256' function. */
|
|
|
|
#undef HAVE_EVP_SHA256
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the <float.h> header file. */
|
|
|
|
#undef HAVE_FLOAT_H
|
|
|
|
|
2009-09-24 14:24:55 +00:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
|
|
|
|
2006-04-18 17:21:59 +00:00
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the `fwprintf' function. */
|
|
|
|
#undef HAVE_FWPRINTF
|
|
|
|
|
2007-07-31 16:45:16 +00:00
|
|
|
/* Define to 1 if you have the `gai_strerror' function. */
|
|
|
|
#undef HAVE_GAI_STRERROR
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `getaddrinfo' function. */
|
|
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `getcwd' function. */
|
|
|
|
#undef HAVE_GETCWD
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getegid' function. */
|
|
|
|
#undef HAVE_GETEGID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `geteuid' function. */
|
|
|
|
#undef HAVE_GETEUID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `gethostbyaddr' function. */
|
|
|
|
#undef HAVE_GETHOSTBYADDR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `gethostbyname' function. */
|
|
|
|
#undef HAVE_GETHOSTBYNAME
|
|
|
|
|
2009-12-03 14:41:08 +00:00
|
|
|
/* Define to 1 if you have the `getifaddrs' function. */
|
|
|
|
#undef HAVE_GETIFADDRS
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
|
2006-03-02 10:43:00 +00:00
|
|
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
|
|
#undef HAVE_GETTEXT
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if you have the iconv() function and it works. */
|
2006-03-02 10:43:00 +00:00
|
|
|
#undef HAVE_ICONV
|
|
|
|
|
2009-12-03 14:41:08 +00:00
|
|
|
/* Define to 1 if you have the <ifaddrs.h> header file. */
|
|
|
|
#undef HAVE_IFADDRS_H
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `inet_aton' function. */
|
|
|
|
#undef HAVE_INET_ATON
|
|
|
|
|
2006-02-22 15:54:19 +00:00
|
|
|
/* Define to 1 if you have the `inet_ntoa' function. */
|
|
|
|
#undef HAVE_INET_NTOA
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
|
|
|
#undef HAVE_INTMAX_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
2006-02-17 13:35:04 +00:00
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
|
|
|
declares uintmax_t. */
|
|
|
|
#undef HAVE_INTTYPES_H_WITH_UINTMAX
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the <io.h> header file. */
|
|
|
|
#undef HAVE_IO_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the <langinfo.h> header file. */
|
|
|
|
#undef HAVE_LANGINFO_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2006-08-21 13:18:51 +00:00
|
|
|
/* Define to 1 if you have libcares. */
|
|
|
|
#undef HAVE_LIBCARES
|
|
|
|
|
2007-11-25 04:41:31 +00:00
|
|
|
/* Define 1 if ares_host_callback accepts timeouts(c-ares >= 1.5) */
|
|
|
|
#undef HAVE_LIBCARES1_5
|
|
|
|
|
2007-12-14 00:46:32 +00:00
|
|
|
/* Define to 1 if you have libexpat. */
|
|
|
|
#undef HAVE_LIBEXPAT
|
|
|
|
|
2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* configure.in: Added gnutls support. Added several CPP macros.
* m4/openssl.m4: Added.
* src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
readData(), peekData(). Added gnutls support.
* src/HttpDownloadCommand.cc: Removed SleepCommand.h
* src/TrackerWatcherCommand.{h,cc}: Added. This command creates
TrackerInitCommand periodicaly(TorrentMan::minInterval).
* src/TorrentMan.cc: Remove downloadedSize == 0 check from
save().
Instead, added a check for whether setup method has executed
successfully.
* src/TorrentMan.h: Added member vaiable setupComplete. Updated
DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to
300.
* src/Makefile.am: Updated.
* src/messageDigest.h: Added. This is a macro calculating SHA1
digest
using whether OpenSSL or gcrypt, depending on the result of
configure
script.
* src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by
using
messageDigest.h.
* src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
* src/PeerListenCommand.cc: Added log about port binded
successfully.
Fixed memory leak.
* src/main.cc: Added gnutls support. Replaced LIB_SSL with
ENABLE_BITTORRENT where they are not related to OpenSSL but
BitTorrent.
Removed instantiation of TrackerInitCommand. Instead,
TrackerWatcherCommand is instantiated and pushed to the command
queue.
* src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL
with
ENABLE_SSL.
* src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
* src/RequestSlotMan.cc:
(deleteCompletedRequestSlot)
If a piece is already acquired by another command, delete the
request
slots for the piece.
* src/TrackerUpdateCommand.cc:
(execute)
Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to
warn.
Added a check whether peer list is null.
Fixed the bug that causes sending completed event to the tracker
several times.
* src/TrackerInitCommand.cc:
(execute)
Fixed the bug that causes sending completed event to the tracker
several times.
* src/AbstractDiskWriter.{h,cc}: Removed direct dependency on
OpenSSL
by using messageDigest.h.
2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* PeerConnection.cc: Replaced log message "keep-alive" with
"keep alive".
* PeerInteractionCommand.{h,cc}: Close connection if peer is
choking
localhost long time.
* TorrentMan.cc: When adding new peer with duplicate = true, if
the
number of peer list is equal to or grater than MAX_PEER_LIST,
delete
at most 100 failure entry from the list. If with duplicate =
false,
MAX_PEER_LIST is not checked.
* PeerListenCommand.cc: Fixed the argument order of log message.
2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
Added warn().
* SimpleLogger.h: Moved enum LEVEL to Logger.h.
Implemented warn().
Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated
code.
2006-03-27 14:47:26 +00:00
|
|
|
/* Define to 1 if you have libgcrypt. */
|
|
|
|
#undef HAVE_LIBGCRYPT
|
|
|
|
|
|
|
|
/* Define to 1 if you have libgnutls. */
|
|
|
|
#undef HAVE_LIBGNUTLS
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the <libintl.h> header file. */
|
|
|
|
#undef HAVE_LIBINTL_H
|
|
|
|
|
2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* configure.in: Added gnutls support. Added several CPP macros.
* m4/openssl.m4: Added.
* src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
readData(), peekData(). Added gnutls support.
* src/HttpDownloadCommand.cc: Removed SleepCommand.h
* src/TrackerWatcherCommand.{h,cc}: Added. This command creates
TrackerInitCommand periodicaly(TorrentMan::minInterval).
* src/TorrentMan.cc: Remove downloadedSize == 0 check from
save().
Instead, added a check for whether setup method has executed
successfully.
* src/TorrentMan.h: Added member vaiable setupComplete. Updated
DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to
300.
* src/Makefile.am: Updated.
* src/messageDigest.h: Added. This is a macro calculating SHA1
digest
using whether OpenSSL or gcrypt, depending on the result of
configure
script.
* src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by
using
messageDigest.h.
* src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
* src/PeerListenCommand.cc: Added log about port binded
successfully.
Fixed memory leak.
* src/main.cc: Added gnutls support. Replaced LIB_SSL with
ENABLE_BITTORRENT where they are not related to OpenSSL but
BitTorrent.
Removed instantiation of TrackerInitCommand. Instead,
TrackerWatcherCommand is instantiated and pushed to the command
queue.
* src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL
with
ENABLE_SSL.
* src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
* src/RequestSlotMan.cc:
(deleteCompletedRequestSlot)
If a piece is already acquired by another command, delete the
request
slots for the piece.
* src/TrackerUpdateCommand.cc:
(execute)
Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to
warn.
Added a check whether peer list is null.
Fixed the bug that causes sending completed event to the tracker
several times.
* src/TrackerInitCommand.cc:
(execute)
Fixed the bug that causes sending completed event to the tracker
several times.
* src/AbstractDiskWriter.{h,cc}: Removed direct dependency on
OpenSSL
by using messageDigest.h.
2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* PeerConnection.cc: Replaced log message "keep-alive" with
"keep alive".
* PeerInteractionCommand.{h,cc}: Close connection if peer is
choking
localhost long time.
* TorrentMan.cc: When adding new peer with duplicate = true, if
the
number of peer list is equal to or grater than MAX_PEER_LIST,
delete
at most 100 failure entry from the list. If with duplicate =
false,
MAX_PEER_LIST is not checked.
* PeerListenCommand.cc: Fixed the argument order of log message.
2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
Added warn().
* SimpleLogger.h: Moved enum LEVEL to Logger.h.
Implemented warn().
Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated
code.
2006-03-27 14:47:26 +00:00
|
|
|
/* Define to 1 if you have openssl. */
|
2006-02-17 18:51:12 +00:00
|
|
|
#undef HAVE_LIBSSL
|
|
|
|
|
2006-07-03 14:19:23 +00:00
|
|
|
/* Define to 1 if you have libxml2. */
|
|
|
|
#undef HAVE_LIBXML2
|
|
|
|
|
2008-06-29 14:29:36 +00:00
|
|
|
/* Define to 1 if you have libz. */
|
|
|
|
#undef HAVE_LIBZ
|
|
|
|
|
2006-03-01 07:46:21 +00:00
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
|
|
#undef HAVE_LIMITS_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `localtime_r' function. */
|
|
|
|
#undef HAVE_LOCALTIME_R
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if the system has the type `long long int'. */
|
|
|
|
#undef HAVE_LONG_LONG_INT
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
|
|
#undef HAVE_MALLOC_H
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the `memchr' function. */
|
|
|
|
#undef HAVE_MEMCHR
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
|
|
#undef HAVE_MEMMOVE
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `mempcpy' function. */
|
|
|
|
#undef HAVE_MEMPCPY
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `memset' function. */
|
|
|
|
#undef HAVE_MEMSET
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mkdir' function. */
|
|
|
|
#undef HAVE_MKDIR
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `munmap' function. */
|
|
|
|
#undef HAVE_MUNMAP
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
|
|
#undef HAVE_NETDB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the `nl_langinfo' function. */
|
|
|
|
#undef HAVE_NL_LANGINFO
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if
|
|
|
|
_GNU_SOURCE is defined. */
|
|
|
|
#undef HAVE_NL_LOCALE_NAME
|
2006-03-07 13:08:09 +00:00
|
|
|
|
2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
MessageDigestHelper is introduced in order to simplify the use
of message digest. Removed repeated code.
The message digest algorithm is now specified by string, like
"sha1",
"md5".
* src/messageDigest.{h, cc}
* src/MessageDigestHelper.{h, cc}: New class.
* src/DefaultPieceStorage.cc
* src/DefaultBtContext.{h, cc}
(computeFastSet): New function.
(setInfoHash): Added for unit testing.
(setNumPieces): Added for unit testing.
* src/DefaultBtInteractive.cc
* src/BtPieceMessage.cc
* src/Peer.cc
* src/Checksum.h
* src/message.h
* src/IteratableChecksumValidator.h
* src/ChunkChecksumValidator.{h, cc}: Use
IteratableChecksumValidator
inside it.
* src/SegmentMan.{h, cc}
(checkIntegrity): Removed.
* src/IteratableChunkChecksumValidator.{h, cc}
* src/Util.h
(sha1Sum): Removed.
(simpleMessageDigest): Removed.
(fileChecksum): Removed.
(computeFastSet): Removed.
* src/ShaVisitor.cc
* src/ChunkChecksum.h
* src/DownloadCommand.cc
Removed messageDigest virtual functions.
* src/MultiDiskAdaptor.{h, cc}
* src/DiskAdaptor.h
* src/ByteArrayDiskWriter.h
* src/DiskWriter.h
* src/DiskAdaptorWriter.h
* src/AbstractSingleDiskAdaptor.{h, cc}
* src/AbstractDiskWriter.{h, cc}
Fixed comilation error when message digest is disabled.
* src/MetalinkEntry.{h, cc}
* src/MetalinkRequestInfo.cc
Removed srandom and random.
* src/SimpleRandomizer.h
Added size() virtual function to DiskAdaptor
* src/MultiDiskAdaptor.h
Fixed the bug that causes that files are not opened correctly in
multi-file torrent.
* src/TorrentRequestInfo.cc
* src/MultiDiskAdaptor.cc
Added SHA256 support
* src/messageDigest.cc
* src/Xml2MetalinkProcessor.cc
Show supported message digest algorithms
* src/main.cc
Updated contact info.
* src/main.cc
2007-08-08 14:40:11 +00:00
|
|
|
/* Define to 1 if you have old openssl. */
|
|
|
|
#undef HAVE_OLD_LIBSSL
|
|
|
|
|
2009-07-14 13:22:26 +00:00
|
|
|
/* Define 1 if struct option.name is const char* */
|
|
|
|
#undef HAVE_OPTION_CONST_NAME
|
|
|
|
|
2009-03-25 05:43:07 +00:00
|
|
|
/* Define to 1 if you have the `posix_fallocate' function. */
|
|
|
|
#undef HAVE_POSIX_FALLOCATE
|
|
|
|
|
2007-11-28 14:22:28 +00:00
|
|
|
/* Define to 1 if you have the `posix_memalign' function. */
|
|
|
|
#undef HAVE_POSIX_MEMALIGN
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if your printf() function supports format strings with positions. */
|
|
|
|
#undef HAVE_POSIX_PRINTF
|
|
|
|
|
2009-10-10 08:16:44 +00:00
|
|
|
/* Define to 1 if you have the `pow' function. */
|
|
|
|
#undef HAVE_POW
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
|
|
|
|
#undef HAVE_PTHREAD_MUTEX_RECURSIVE
|
|
|
|
|
|
|
|
/* Define if the POSIX multithreading library has read/write locks. */
|
|
|
|
#undef HAVE_PTHREAD_RWLOCK
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
|
|
|
#undef HAVE_PTRDIFF_T
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `putenv' function. */
|
|
|
|
#undef HAVE_PUTENV
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `rmdir' function. */
|
|
|
|
#undef HAVE_RMDIR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `select' function. */
|
|
|
|
#undef HAVE_SELECT
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
|
|
|
#undef HAVE_SETENV
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `sleep' function. */
|
|
|
|
#undef HAVE_SLEEP
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
2009-02-11 16:14:22 +00:00
|
|
|
/* Define to 1 if struct sockaddr_in has sin_len member. */
|
|
|
|
#undef HAVE_SOCKADDR_IN_SIN_LEN
|
2009-02-11 16:12:07 +00:00
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `socket' function. */
|
|
|
|
#undef HAVE_SOCKET
|
|
|
|
|
2008-08-17 10:44:12 +00:00
|
|
|
/* Define to 1 if you have sqlite3. */
|
|
|
|
#undef HAVE_SQLITE3
|
|
|
|
|
2008-10-04 03:02:35 +00:00
|
|
|
/* Define to 1 if you have the `sqlite3_open_v2' function. */
|
|
|
|
#undef HAVE_SQLITE3_OPEN_V2
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
|
|
|
zero-length file name argument. */
|
|
|
|
#undef HAVE_STAT_EMPTY_STRING_BUG
|
|
|
|
|
|
|
|
/* Define to 1 if stdbool.h conforms to C99. */
|
|
|
|
#undef HAVE_STDBOOL_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
|
|
|
uintmax_t. */
|
|
|
|
#undef HAVE_STDINT_H_WITH_UINTMAX
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the <stdio_ext.h> header file. */
|
|
|
|
#undef HAVE_STDIO_EXT_H
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `stpcpy' function. */
|
|
|
|
#undef HAVE_STPCPY
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
|
|
|
#undef HAVE_STRCHR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcspn' function. */
|
|
|
|
#undef HAVE_STRCSPN
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `strftime' function. */
|
|
|
|
#undef HAVE_STRFTIME
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `strncasecmp' function. */
|
|
|
|
#undef HAVE_STRNCASECMP
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `strptime' function. */
|
|
|
|
#undef HAVE_STRPTIME
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the `strstr' function. */
|
|
|
|
#undef HAVE_STRSTR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
|
|
|
#undef HAVE_STRTOL
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
|
|
|
#undef HAVE_STRTOUL
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `strtoull' function. */
|
|
|
|
#undef HAVE_STRTOULL
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `timegm' function. */
|
|
|
|
#undef HAVE_TIMEGM
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `tsearch' function. */
|
|
|
|
#undef HAVE_TSEARCH
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the `tzset' function. */
|
|
|
|
#undef HAVE_TZSET
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
|
|
|
|
#undef HAVE_UINTMAX_T
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2007-08-14 14:51:08 +00:00
|
|
|
/* Define to 1 if you have the `unsetenv' function. */
|
|
|
|
#undef HAVE_UNSETENV
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if the system has the type `unsigned long long int'. */
|
|
|
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
2006-03-07 13:08:09 +00:00
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the `usleep' function. */
|
|
|
|
#undef HAVE_USLEEP
|
|
|
|
|
2009-10-10 08:16:44 +00:00
|
|
|
/* Define to 1 if you have the `utime' function. */
|
|
|
|
#undef HAVE_UTIME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <utime.h> header file. */
|
|
|
|
#undef HAVE_UTIME_H
|
|
|
|
|
2009-10-10 08:09:16 +00:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
|
|
|
declarations. */
|
|
|
|
#undef HAVE_VISIBILITY
|
|
|
|
|
2006-02-17 18:51:12 +00:00
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
|
|
#undef HAVE_VPRINTF
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
|
|
#undef HAVE_WCHAR_H
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if you have the 'wchar_t' type. */
|
|
|
|
#undef HAVE_WCHAR_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcslen' function. */
|
|
|
|
#undef HAVE_WCSLEN
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
|
|
#undef HAVE_WINSOCK2_H
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
|
|
#undef HAVE_WINT_T
|
|
|
|
|
2009-10-10 08:09:16 +00:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
|
|
|
|
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
/* Define to 1 if you have the <ws2tcpip.h> header file. */
|
|
|
|
#undef HAVE_WS2TCPIP_H
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
|
|
#undef HAVE__BOOL
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to 1 if you have the `__argz_count' function. */
|
|
|
|
#undef HAVE___ARGZ_COUNT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `__argz_next' function. */
|
|
|
|
#undef HAVE___ARGZ_NEXT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `__argz_stringify' function. */
|
|
|
|
#undef HAVE___ARGZ_STRINGIFY
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `__fsetlocking' function. */
|
|
|
|
#undef HAVE___FSETLOCKING
|
|
|
|
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
|
|
#undef ICONV_CONST
|
|
|
|
|
|
|
|
/* Define if integer division by zero raises signal SIGFPE. */
|
|
|
|
#undef INTDIV0_RAISES_SIGFPE
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
|
|
|
slash. */
|
|
|
|
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
|
|
|
|
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2009-10-10 07:54:39 +00:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
|
|
|
#undef PRI_MACROS_BROKEN
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if the pthread_in_use() detection is hard. */
|
|
|
|
#undef PTHREAD_IN_USE_DETECTION_HARD
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to the type of arg 1 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG1
|
|
|
|
|
|
|
|
/* Define to the type of args 2, 3 and 4 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG234
|
|
|
|
|
|
|
|
/* Define to the type of arg 5 for `select'. */
|
|
|
|
#undef SELECT_TYPE_ARG5
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
|
|
|
it. */
|
|
|
|
#undef SIZE_MAX
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
|
|
direction of stack growth for your system; otherwise it will be
|
2006-10-18 14:57:00 +00:00
|
|
|
automatically deduced at runtime.
|
2006-03-07 13:08:09 +00:00
|
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
|
|
#undef STACK_DIRECTION
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
2007-11-14 10:10:38 +00:00
|
|
|
/* Define target-type */
|
|
|
|
#undef TARGET
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if the POSIX multithreading library can be used. */
|
|
|
|
#undef USE_POSIX_THREADS
|
|
|
|
|
|
|
|
/* Define if references to the POSIX multithreading library should be made
|
|
|
|
weak. */
|
|
|
|
#undef USE_POSIX_THREADS_WEAK
|
|
|
|
|
|
|
|
/* Define if the GNU Pth multithreading library can be used. */
|
|
|
|
#undef USE_PTH_THREADS
|
|
|
|
|
|
|
|
/* Define if references to the GNU Pth multithreading library should be made
|
|
|
|
weak. */
|
|
|
|
#undef USE_PTH_THREADS_WEAK
|
|
|
|
|
|
|
|
/* Define if the old Solaris multithreading library can be used. */
|
|
|
|
#undef USE_SOLARIS_THREADS
|
|
|
|
|
|
|
|
/* Define if references to the old Solaris multithreading library should be
|
|
|
|
made weak. */
|
|
|
|
#undef USE_SOLARIS_THREADS_WEAK
|
|
|
|
|
2009-05-06 08:00:57 +00:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define if the Win32 multithreading API can be used. */
|
|
|
|
#undef USE_WIN32_THREADS
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
|
|
|
|
2009-05-06 08:00:57 +00:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
2008-02-02 04:38:24 +00:00
|
|
|
#endif
|
|
|
|
|
2008-03-01 04:42:53 +00:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
|
|
#undef _POSIX_SOURCE
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
2009-05-06 08:00:57 +00:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2008-04-27 10:47:43 +00:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT32_T
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
2009-05-06 08:00:57 +00:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2008-04-27 10:47:43 +00:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT64_T
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
2009-05-06 08:00:57 +00:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2008-04-27 10:47:43 +00:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT8_T
|
|
|
|
|
2006-02-17 13:35:04 +00:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#undef inline
|
|
|
|
#endif
|
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to the type of a signed integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef int16_t
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef int32_t
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef int64_t
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 8 bits if such
|
|
|
|
a type exists and the standard includes do not define it. */
|
|
|
|
#undef int8_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef mode_t
|
|
|
|
|
|
|
|
/* Define to `long int' if <sys/types.h> does not define. */
|
|
|
|
#undef off_t
|
|
|
|
|
2009-10-10 08:09:16 +00:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
|
|
|
|
2008-02-02 04:38:24 +00:00
|
|
|
/* Define as the type of the result of subtracting two pointers, if the system
|
|
|
|
doesn't define it. */
|
|
|
|
#undef ptrdiff_t
|
2006-03-07 13:08:09 +00:00
|
|
|
|
2006-10-18 14:57:00 +00:00
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
2006-02-17 13:35:04 +00:00
|
|
|
#undef size_t
|
2006-03-07 13:08:09 +00:00
|
|
|
|
2008-04-27 10:47:43 +00:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef ssize_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint16_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint32_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint64_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint8_t
|
|
|
|
|
2006-03-07 13:08:09 +00:00
|
|
|
/* Define to unsigned long or unsigned long long if <stdint.h> and
|
|
|
|
<inttypes.h> don't define. */
|
|
|
|
#undef uintmax_t
|
2006-03-21 16:07:22 +00:00
|
|
|
|
2009-10-10 08:09:16 +00:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|
|
|
|
|
2006-03-21 16:07:22 +00:00
|
|
|
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
|
|
|
code using `volatile' can become incorrect without. Disable with care. */
|
|
|
|
#undef volatile
|
2008-02-02 04:38:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define __libc_lock_t gl_lock_t
|
|
|
|
#define __libc_lock_define gl_lock_define
|
|
|
|
#define __libc_lock_define_initialized gl_lock_define_initialized
|
|
|
|
#define __libc_lock_init gl_lock_init
|
|
|
|
#define __libc_lock_lock gl_lock_lock
|
|
|
|
#define __libc_lock_unlock gl_lock_unlock
|
|
|
|
#define __libc_lock_recursive_t gl_recursive_lock_t
|
|
|
|
#define __libc_lock_define_recursive gl_recursive_lock_define
|
|
|
|
#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
|
|
|
|
#define __libc_lock_init_recursive gl_recursive_lock_init
|
|
|
|
#define __libc_lock_lock_recursive gl_recursive_lock_lock
|
|
|
|
#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
|
|
|
|
#define glthread_in_use libintl_thread_in_use
|
|
|
|
#define glthread_lock_init libintl_lock_init
|
|
|
|
#define glthread_lock_lock libintl_lock_lock
|
|
|
|
#define glthread_lock_unlock libintl_lock_unlock
|
|
|
|
#define glthread_lock_destroy libintl_lock_destroy
|
|
|
|
#define glthread_rwlock_init libintl_rwlock_init
|
|
|
|
#define glthread_rwlock_rdlock libintl_rwlock_rdlock
|
|
|
|
#define glthread_rwlock_wrlock libintl_rwlock_wrlock
|
|
|
|
#define glthread_rwlock_unlock libintl_rwlock_unlock
|
|
|
|
#define glthread_rwlock_destroy libintl_rwlock_destroy
|
|
|
|
#define glthread_recursive_lock_init libintl_recursive_lock_init
|
|
|
|
#define glthread_recursive_lock_lock libintl_recursive_lock_lock
|
|
|
|
#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
|
|
|
|
#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
|
|
|
|
#define glthread_once libintl_once
|
|
|
|
#define glthread_once_call libintl_once_call
|
|
|
|
#define glthread_once_singlethreaded libintl_once_singlethreaded
|
|
|
|
|