It's offer to compile w/o SSL.
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
index 5b082b4..6097932 100644
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -49,7 +49,5 @@ ADD_SUBDIRECTORY(sbc)
ADD_SUBDIRECTORY(voicebox)
ADD_SUBDIRECTORY(voicemail)
ADD_SUBDIRECTORY(webconference)
-IF(OPENSSL_FOUND)
- ADD_SUBDIRECTORY(xmlrpc2di)
-ENDIF(OPENSSL_FOUND)
+ADD_SUBDIRECTORY(xmlrpc2di)
diff --git a/apps/xmlrpc2di/TOXmlRpcClient.h
b/apps/xmlrpc2di/TOXmlRpcClient.h
index aeb399e..a7319d3 100644
--- a/apps/xmlrpc2di/TOXmlRpcClient.h
+++ b/apps/xmlrpc2di/TOXmlRpcClient.h
@@ -8,14 +8,12 @@ class TOXmlRpcClient : public XmlRpc::XmlRpcClient {
public:
TOXmlRpcClient(const char* host, int port, const char* uri=0
#ifdef HAVE_XMLRPCPP_SSL
+ , bool ssl=true
+#else
, bool ssl=false
#endif
)
- : XmlRpcClient(host, port, uri
-#ifdef HAVE_XMLRPCPP_SSL
- , ssl
-#endif
- ) { }
+ : XmlRpcClient(host, port, uri, ssl) { }
bool execute(const char* method, XmlRpcValue const& params,
XmlRpcValue& result, double timeout);
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev