rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
885 stars 209 forks source link

Modify configure to prevent unnecessary kqueue checks #174

Closed ss23 closed 6 years ago

ss23 commented 6 years ago

By only running the TORRENT_CHECK_KQUEUE_SOCKET_ONLY check if kqueue support is already detected, we increase the number of platforms that we can cross compile on. Otherwise, the cross compilation fails due to TORRENT_CHECK_KQUEUE_SOCKET_ONLY using AC_RUN_IFELSE, which fails during cross compilation.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.02%) to 17.93% when pulling 755daf78769b048c868e6b62c68b4e545494c181 on ss23:cross_compile_kqueue into 7b29b6bd2547e72e22b9b7981df27092842d2a10 on rakshasa:master.