* Fixed XMLRPC-C header.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@894 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-04-22 16:11:31 +00:00
parent 7077aba019
commit c5beb24d6c
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -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
View File
@@ -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>