mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-20 16:16:17 +00:00
* Fixed XMLRPC-C header.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@894 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -77,7 +77,7 @@ AC_DEFUN([TORRENT_WITHOUT_EPOLL], [
|
|||||||
|
|
||||||
AC_DEFUN([TORRENT_WITH_KQUEUE], [
|
AC_DEFUN([TORRENT_WITH_KQUEUE], [
|
||||||
AC_ARG_WITH(kqueue,
|
AC_ARG_WITH(kqueue,
|
||||||
[ --with-kqueue enable kqueue. [[default=no]]],
|
[ --with-kqueue enable kqueue. [[default=no]]],
|
||||||
[
|
[
|
||||||
if test "$withval" = "yes"; then
|
if test "$withval" = "yes"; then
|
||||||
AC_DEFINE(USE_KQUEUE, 1, Enable kqueue.)
|
AC_DEFINE(USE_KQUEUE, 1, Enable kqueue.)
|
||||||
@@ -354,7 +354,7 @@ AC_DEFUN([TORRENT_WITH_XMLRPC_C], [
|
|||||||
LIBS="$LIBS `xmlrpc-c-config --libs server-util` -lxmlrpc_server"
|
LIBS="$LIBS `xmlrpc-c-config --libs server-util` -lxmlrpc_server"
|
||||||
|
|
||||||
AC_TRY_LINK(
|
AC_TRY_LINK(
|
||||||
[ #include <xmlrpc_server.h>
|
[ #include <xmlrpc-c/server.h>
|
||||||
],[ xmlrpc_registry_new(NULL); ],
|
],[ xmlrpc_registry_new(NULL); ],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT(ok)
|
AC_MSG_RESULT(ok)
|
||||||
|
|||||||
+1
-2
@@ -38,8 +38,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_XMLRPC_C
|
#ifdef HAVE_XMLRPC_C
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <xmlrpc.h>
|
#include <xmlrpc-c/server.h>
|
||||||
#include <xmlrpc_server.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <torrent/object.h>
|
#include <torrent/object.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user