using installed xmlrpc++ lib (now in debian, gentoo ebuild: http://bugs.gentoo.org/show_bug.cgi?id=132494 )

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@871 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent eb98223129
commit 46576096fd

@ -2,31 +2,32 @@ XMLRPCPP_DIR = xmlrpc++0.7
plug_in_name = xmlrpc2di
module_ldflags =
module_cflags = -I$(XMLRPCPP_DIR)/src
module_ldflags = -lxmlrpc++
module_cflags =
module_extra_objs = $(XMLRPCPP_DIR)/libXmlRpc.a
extra_clean = clean_libxmlrpc
# use these for local installation:
# module_cflags = -I$(XMLRPCPP_DIR)/src
# module_extra_objs = $(XMLRPCPP_DIR)/libXmlRpc.a
# extra_clean = clean_libxmlrpc
COREPATH ?=../../../core
include $(COREPATH)/plug-in/Makefile.app_module
$(XMLRPCPP_DIR)/libXmlRpc.a:
$(MAKE) -C $(XMLRPCPP_DIR) libXmlRpc.a
clean_libxmlrpc:
@if [ -d $(XMLRPCPP_DIR) ]; \
then $(MAKE) -C $(XMLRPCPP_DIR) clean; \
fi
install-xmlrpcpp: xmlrpc++0.7
xmlrpc++0.7: xmlrpc++0.7.tar.gz
$(TAR) xzvf xmlrpc++0.7.tar.gz
patch -p0 < xmlrpcpp07_sems.patch
xmlrpc++0.7.tar.gz:
wget http://switch.dl.sourceforge.net/sourceforge/xmlrpcpp/xmlrpc++0.7.tar.gz
#$(XMLRPCPP_DIR)/libXmlRpc.a:
# $(MAKE) -C $(XMLRPCPP_DIR) libXmlRpc.a
#
#clean_libxmlrpc:
# @if [ -d $(XMLRPCPP_DIR) ]; \
# then $(MAKE) -C $(XMLRPCPP_DIR) clean; \
# fi
#
#install-xmlrpcpp: xmlrpc++0.7
#
#xmlrpc++0.7: xmlrpc++0.7.tar.gz
# $(TAR) xzvf xmlrpc++0.7.tar.gz
# patch -p0 < xmlrpcpp07_sems.patch
#
#xmlrpc++0.7.tar.gz:
# wget http://switch.dl.sourceforge.net/sourceforge/xmlrpcpp/xmlrpc++0.7.tar.gz

@ -183,7 +183,8 @@ void XMLRPC2DI::sendRequest(const AmArg& args, AmArg& ret) {
return;
}
XmlRpcClient c(srv->server.c_str(), srv->port,
srv->uri.empty()?NULL:srv->uri.c_str());
srv->uri.empty()?NULL:srv->uri.c_str(),
false);
XmlRpcValue x_args, x_result;
XMLRPC2DIServer::amarg2xmlrpcval(params, x_args);

Loading…
Cancel
Save