diff options
author | David Robillard <d@drobilla.net> | 2009-12-23 06:50:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-12-23 06:50:43 +0000 |
commit | 8e9ffb28b8f137d404990859f9d84fde42a56ad0 (patch) | |
tree | 241a84a60183f70bde4f5d1c36a51b25286bcbf7 /src | |
parent | a854ac939a20b12932384c3074c9ce85df0b39bd (diff) | |
download | ingen-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')
-rw-r--r-- | src/client/ingen_client.cpp | 4 |
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 } }; |