From 8e9ffb28b8f137d404990859f9d84fde42a56ad0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Dec 2009 06:50:43 +0000 Subject: Fix compilation without liblo and/or without libsoup. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2316 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ingen_client.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 } }; -- cgit v1.2.1