01org/media-service-upnp — pull request #186 by cguiraud (2013-02-13 17:06:38+00:00)
Title: [Build] Enable SOUP session User Agent Customization

- Add the optional --with-ua-prefix flag to allow the customization
of the SOUP session User Agent Customization at build configuration time.

- Construct our user agent prefix with the following template:
%s dLeyna/%VERSION

%s is the value provided --with-ua-prefix if any
%VERSION is the dLeyna version

- Call g_set_prgname(...) API to make our ua-prefix usable by libsoup.

Example:

with ./bootstrap-configure --with-ua-prefix=MypProject user agent value
will be:
MyProject dLeyna/0.0.1 GUPnP/0.19.4 DLNADOC/1.50

if ./bootstrap-configure is called without --with-ua-prefix, user agent
value will be:
dLeyna/0.0.1 GUPnP/0.19.4 DLNADOC/1.50

Fix issue: https://github.com/01org/media-service-upnp/issues/185

Signed-off-by: Christophe Guiraud