[Spice-devel] [PATCH spice-gtk] build-sys: Add webdav_support variable to spice-client-glib-2.0.pc

Eduardo Lima (Etrunko) etrunko at redhat.com
Mon Mar 6 14:35:00 UTC 2017


On 03/03/17 18:42, Marc-André Lureau wrote:
> Hi
> 
> ----- Original Message -----
>> This allows us to inform the clients of this library if it was built
>> with support for folder sharing or not.
>>
>> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
> 
> Interesting approach, but you should rather do that at run time. This would allow to dynamically replace the shared library without recompiling.
> 
> You can do spice_session_get_webdav_server() to know if it's enabled, for example

Well, my idea was to check for this at configure time and completely
avoid the build of related source code that would make use of this feature.

-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com


More information about the Spice-devel mailing list