mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-19 15:46:17 +00:00
Cleaned up configure.ac and fixed it to properly handles CXXFLAGS.
Ignore SIGPIPE. Fixed(?) bug in hash queue code when a queued torrent got deleted. Also reorganized core::Manager to catch all torrent::local_error's. Fixed display bug in display::FileList which hid the last element. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@441 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+4
-23
@@ -4,35 +4,16 @@ AM_INIT_AUTOMAKE
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
sinclude(scripts/checks.m4)
|
||||
sinclude(scripts/common.m4)
|
||||
|
||||
CXXFLAGS="-O3"
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug enable debug information [default=yes]],
|
||||
[
|
||||
if test "$enableval" = "yes"; then
|
||||
CXXFLAGS="$CXXFLAGS -Wall -g -DDEBUG"
|
||||
else
|
||||
CXXFLAGS="$CXXFLAGS -Wall -DNDEBUG"
|
||||
fi
|
||||
],[
|
||||
CXXFLAGS="$CXXFLAGS -Wall -g -DDEBUG"
|
||||
]
|
||||
)
|
||||
TORRENT_CHECK_CXXFLAGS()
|
||||
TORRENT_ENABLE_DEBUG()
|
||||
TORRENT_ENABLE_WERROR()
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_RANLIB
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
AC_ARG_ENABLE(werror,
|
||||
[ --enable-werror enable the -Werror flag [default=no]],
|
||||
[
|
||||
if test "$enableval" = "yes"; then
|
||||
CXXFLAGS="$CXXFLAGS -Werror"
|
||||
fi
|
||||
]
|
||||
)
|
||||
|
||||
AC_SEARCH_LIBS(wbkgdset, ncurses curses,,echo "*** The ncurses library is required!";exit 1)
|
||||
|
||||
TORRENT_CHECK_EXECINFO()
|
||||
|
||||
Reference in New Issue
Block a user