Changeset 12954
- Timestamp:
- Oct 8, 2011, 11:53:27 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r12952 r12954 71 71 AC_PROG_CC 72 72 AC_PROG_CXX 73 AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no]) 73 74 AC_C_INLINE 74 75 if test "x$GCC" = "xyes" ; then … … 206 207 AC_MSG_CHECKING([µTP]) 207 208 build_utp="no" 208 if test "x$CXX" = "x" ; then 209 if test "x$HAVE_CXX" = "xyes" ; then 210 have_utp="yes" 211 else 209 212 have_utp="no" 210 else211 have_utp="yes"212 213 fi 213 214 AC_ARG_ENABLE([utp], … … 410 411 third-party/miniupnp/Makefile 411 412 third-party/libnatpmp/Makefile 412 third-party/libutp/Makefile413 413 third-party/dht/Makefile 414 414 macosx/Makefile … … 425 425 po/Makefile.in]) 426 426 427 dnl Maybe build libutp... 428 AM_CONDITIONAL([CONDITIONAL],[test "x$build_utp" = "xyes"]) 429 AM_COND_IF([CONDITIONAL], 430 [AC_CONFIG_FILES([third-party/libutp/Makefile])]) 431 427 432 AC_OUTPUT 428 433 -
trunk/libtransmission/net.c
r12300 r12954 39 39 #include <event2/util.h> 40 40 41 #include <libutp/utp.h>42 43 41 #include "transmission.h" 44 42 #include "fdlimit.h" /* tr_fdSocketClose() */ -
trunk/libtransmission/peer-io.c
r12477 r12954 19 19 #include <event2/bufferevent.h> 20 20 21 #include <libutp/utp.h>22 23 21 #include "transmission.h" 24 22 #include "session.h" … … 29 27 #include "peer-io.h" 30 28 #include "trevent.h" /* tr_runInEventThread() */ 29 #include "tr-utp.h" 31 30 #include "utils.h" 32 31 -
trunk/libtransmission/peer-mgr.c
r12920 r12954 18 18 19 19 #include <event2/event.h> 20 #include <libutp/utp.h>21 20 22 21 #include "transmission.h" … … 37 36 #include "stats.h" /* tr_statsAddUploaded, tr_statsAddDownloaded */ 38 37 #include "torrent.h" 38 #include "tr-utp.h" 39 39 #include "utils.h" 40 40 #include "webseed.h" -
trunk/libtransmission/tr-utp.c
r12229 r12954 25 25 26 26 #include <event2/event.h> 27 28 #include <libutp/utp.h>29 27 30 28 #include "transmission.h" -
trunk/libtransmission/tr-utp.h
r11960 r12954 29 29 #define _TR_UTP_H_ 30 30 31 /* this is included *after* transmission.h s.t. we get bool defined */ 32 #include <libutp/utp.h> 33 31 34 int tr_utpPacket(const unsigned char *buf, size_t buflen, 32 35 const struct sockaddr *from, socklen_t fromlen, -
trunk/qt/qtr.pro
r12916 r12954 20 20 INCLUDEPATH += $${TRANSMISSION_TOP} 21 21 LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a 22 exists( $${TRANSMISSION_TOP}/third-party/libutp/ libutp.a) {22 exists( $${TRANSMISSION_TOP}/third-party/libutp/Makefile ) { 23 23 LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a 24 24 } -
trunk/third-party/libutp/utypes.h
r12663 r12954 36 36 typedef char * str; 37 37 38 #ifndef __cplusplus39 typedef uint8 bool;40 #endif41 42 38 #endif //__UTYPES_H__
Note: See TracChangeset
for help on using the changeset viewer.