summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-12-23 06:50:43 +0000
committerDavid Robillard <d@drobilla.net>2009-12-23 06:50:43 +0000
commit8e9ffb28b8f137d404990859f9d84fde42a56ad0 (patch)
tree241a84a60183f70bde4f5d1c36a51b25286bcbf7 /src/client
parenta854ac939a20b12932384c3074c9ce85df0b39bd (diff)
downloadingen-8e9ffb28b8f137d404990859f9d84fde42a56ad0.tar.gz
ingen-8e9ffb28b8f137d404990859f9d84fde42a56ad0.tar.bz2
ingen-8e9ffb28b8f137d404990859f9d84fde42a56ad0.zip
Fix compilation without liblo and/or without libsoup.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2316 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ingen_client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/ingen_client.cpp b/src/client/ingen_client.cpp
index 9f644e4d..6fccc45f 100644
--- a/src/client/ingen_client.cpp
+++ b/src/client/ingen_client.cpp
@@ -50,9 +50,13 @@ new_http_interface(Ingen::Shared::World* world, const std::string& url)
struct IngenClientModule : public Ingen::Shared::Module {
void load(Ingen::Shared::World* world) {
+#ifdef HAVE_LIBLO
world->add_interface_factory("osc.udp", &new_osc_interface);
world->add_interface_factory("osc.tcp", &new_osc_interface);
+#endif
+#ifdef HAVE_SOUP
world->add_interface_factory("http", &new_http_interface);
+#endif
}
};