* Added autoconf support for cacheline_aligned and SMP_CACHE_BYTES.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1115 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2009-12-18 21:56:14 +00:00
parent 2304983f4f
commit 5470e50ffb
8 changed files with 38 additions and 19 deletions
+3
View File
@@ -45,6 +45,9 @@ AC_LANG_POP(C++)
AC_DEFINE(HAVE_CONFIG_H, 1, true if config.h was included)
AC_DEFINE(USER_AGENT, [std::string(PACKAGE "/" VERSION "/") + torrent::version()], Http user agent)
AC_CHECK_FUNC(posix_memalign)
TORRENT_CHECK_CACHELINE()
CC_ATTRIBUTE_UNUSED(
AC_DEFINE([__UNUSED], [__attribute__((unused))], [Wrapper around unused attribute]),
AC_DEFINE([__UNUSED], [], [Null-wrapper if unused attribute is unsupported])