summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-27 17:23:02 +0000
committerDavid Robillard <d@drobilla.net>2008-09-27 17:23:02 +0000
commit03f0df7e1bbfcae8f770730ab707d7ca3bf097f0 (patch)
tree6cde9b924bfb0ea0c310fddcdccc6a0648421e00 /src/libs/client
parent6423f7a3c3ae831c345901db63d4b82ee5539f7e (diff)
downloadingen-03f0df7e1bbfcae8f770730ab707d7ca3bf097f0.tar.gz
ingen-03f0df7e1bbfcae8f770730ab707d7ca3bf097f0.tar.bz2
ingen-03f0df7e1bbfcae8f770730ab707d7ca3bf097f0.zip
Fix building w/o soup.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1516 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/client.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/client/client.cpp b/src/libs/client/client.cpp
index 32380378..f3d62471 100644
--- a/src/libs/client/client.cpp
+++ b/src/libs/client/client.cpp
@@ -15,10 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include CONFIG_H_PATH
+
#include <iostream>
#include "client.hpp"
#include "OSCEngineSender.hpp"
+#ifdef WITH_SOUP
#include "HTTPEngineSender.hpp"
+#endif
using namespace std;
@@ -35,10 +39,12 @@ new_remote_interface(const std::string& url)
OSCEngineSender* oes = new OSCEngineSender(url);
oes->attach(rand(), true);
return SharedPtr<Shared::EngineInterface>(oes);
+#ifdef WITH_SOUP
} else if (scheme == "http") {
HTTPEngineSender* hes = new HTTPEngineSender(url);
hes->attach(rand(), true);
return SharedPtr<Shared::EngineInterface>(hes);
+#endif
} else {
cerr << "WARNING: Unknown URI scheme '" << scheme << "'" << endl;
return SharedPtr<Shared::EngineInterface>();