summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-02-15 15:22:07 +0100
committerPatrick Ohly <patrick.ohly@gmx.de>2009-03-25 14:43:34 +0100
commitbcc349a5699f5d8760c31d36349e3bd0fb053e16 (patch)
tree4ac7bc7f6d7ee0050eb9203a450ee5620264689f /HACKING
parent4d21ec2aa5c216c664d282e0f69bce8b30572e1d (diff)
transport agent: replaced Funambol TransportAgent with own libsoup/libcurl classes
The new TransportAgent base class supports sending a message and waiting for a reply. Implementations which block in either the send() (CurlTransportAgent) or the wait() (SoupTransportAgent) call are possible. The default implementation is compiled into libsyncevolution. configure picks libsoup if available, otherwise libcurl. The default can be changed via --enable-libcurl/libsoup, including not compiling any transport. Normally that triggers a configure error because it leads to an unusable syncevolution binary. Derived EvolutionSyncClients can change the default via createTransportAgent().
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING6
1 files changed, 5 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index fae9f174..c4062b1b 100644
--- a/HACKING
+++ b/HACKING
@@ -59,7 +59,11 @@ configure options for details.
For doing development work the recommended configure line is:
configure SYNCEVOLUTION_CXXFLAGS="-Wall -Werror -Wno-unknown-pragmas" \
- --enable-unit-tests
+ --enable-unit-tests \
+ --enable-libcurl
+
+Enabling libcurl explicitly ensures that it gets built even when not
+the default.
In contrast to CXXFLAGS, SYNCEVOLUTION_CXXFLAGS adds these flags only
to the compilation of source files from the SyncEvolution source code