mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
2f6b5affd1
by Josef Drexler, public domain. * Check if bitfield or have messages has been received before when getting a bitfield message. This fixes an exception on PC::using_counter() not begin false. * Added a switch to disable the use of ncursesw, instead using ncurses. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@669 e378c898-3ddf-0310-93e7-cc216c733640
43 lines
918 B
Plaintext
43 lines
918 B
Plaintext
AC_INIT(rtorrent, 0.5.0, jaris@ifi.uio.no)
|
|
|
|
AM_INIT_AUTOMAKE
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
TORRENT_CHECK_CXXFLAGS()
|
|
TORRENT_ENABLE_DEBUG()
|
|
TORRENT_ENABLE_EXTRA_DEBUG()
|
|
TORRENT_ENABLE_WERROR()
|
|
|
|
AC_PROG_CXX
|
|
AC_PROG_LIBTOOL
|
|
AC_SYS_LARGEFILE
|
|
|
|
TORRENT_CHECK_EXECINFO()
|
|
TORRENT_CHECK_CURL()
|
|
TORRENT_OTFD()
|
|
|
|
TORRENT_WITHOUT_VARIABLE_FDSET()
|
|
TORRENT_WITHOUT_NCURSESW()
|
|
|
|
PKG_CHECK_MODULES(STUFF, sigc++-2.0 libtorrent >= 0.9.0,
|
|
CXXFLAGS="$CXXFLAGS $STUFF_CFLAGS $CURL_CFLAGS";
|
|
LIBS="$LIBS $STUFF_LIBS $CURL_LIBS")
|
|
|
|
AC_DEFINE(HAVE_CONFIG_H, 1, true if config.h was included)
|
|
|
|
CC_ATTRIBUTE_UNUSED(
|
|
AC_DEFINE([__UNUSED], [__attribute__((unused))], [Wrapper around unused attribute]),
|
|
AC_DEFINE([__UNUSED], [], [Null-wrapper if unused attribute is unsupported])
|
|
)
|
|
|
|
AC_OUTPUT([
|
|
Makefile
|
|
doc/Makefile
|
|
src/Makefile
|
|
src/core/Makefile
|
|
src/display/Makefile
|
|
src/input/Makefile
|
|
src/ui/Makefile
|
|
src/utils/Makefile
|
|
])
|