Re: [spice-server] build: Remove check for CELT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 20, 2018 at 04:47:28AM -0400, Frediano Ziglio wrote:
> > 
> > spice-server does not have any code depending on libcelt, such code is
> > in spice-common. We can thus get rid of that check, especially as its
> > default got out of sync with spice-common after recent changes there.
> > 
> > Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
> > ---
> >  configure.ac | 10 ----------
> >  1 file changed, 10 deletions(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 1e569c30a..d71f0989f 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -181,16 +181,6 @@ AC_SUBST(PIXMAN_CFLAGS)
> >  AC_SUBST(PIXMAN_LIBS)
> >  AS_VAR_APPEND([SPICE_REQUIRES], [" pixman-1 >= $PIXMAN_REQUIRED"])
> >  
> > -AC_ARG_ENABLE([celt051],
> > -              AS_HELP_STRING([--disable-celt051], [Disable celt051 audio
> > codec (enabled by default)]),,
> > -              [enable_celt051="yes"])
> > -
> > -if test "x$enable_celt051" = "xyes"; then
> > -    CELT051_REQUIRED=0.5.1.1
> > -    PKG_CHECK_MODULES(CELT051, celt051 >= $CELT051_REQUIRED,
> > -                      AS_VAR_APPEND([SPICE_REQUIRES], [" celt051 >=
> > $CELT051_REQUIRED"]))
> > -fi
> > -
> >  PKG_CHECK_MODULES(SSL, openssl >= 1.0.0)
> >  AC_SUBST(SSL_CFLAGS)
> >  AC_SUBST(SSL_LIBS)
> 
> Why not using SPICE_CHECK_CELT051 ?

This was what I initially did, before realizing nothing in spice-server
used the CELT flags, or the CELT #define..

> Probably not changing much by the way, simply the --help won't list celt option.

.. but it indeed makes sense to at least have it in --help.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]