@@ -, +, @@ --- configure.ac | 5 ++++- qt/config.in | 1 + qt/qtr.pro | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 qt/config.in --- a/configure.ac +++ a/configure.ac @@ -414,7 +414,8 @@ web/javascript/Makefile web/javascript/jquery/Makefile web/stylesheets/Makefile - po/Makefile.in]) + po/Makefile.in + qt/config]) AC_OUTPUT --- a/qt/config.in +++ a/qt/config.in @@ -0,0 +1, @@ +LIBUTP_LIBS = @LIBUTP_LIBS_QT@ --- a/qt/qtr.pro +++ a/qt/qtr.pro @@ -16,12 +16,12 @@ QT += network PKGCONFIG = fontconfig libcurl openssl libevent TRANSMISSION_TOP = .. +include(config) + INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH} INCLUDEPATH += $${TRANSMISSION_TOP} LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a -exists( $${TRANSMISSION_TOP}/third-party/libutp/libutp.a ) { - LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a -} +LIBS += $${LIBUTP_LIBS} LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a --