summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove files moved to spice-protocol"Marc-André Lureau2016-03-101-2/+1
| | | | | | | | | | | | | | | | This reverts commit 7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f. Also revert the related build-sys changes to fix the build. codegen generated code depends on spice-common code (marshaller, messages etc), it makes more sense to keep the generator along this. Otherwise a newer protocol release will fail to build older projects. *.proto files are required as well, since it generates code that parent modules depend on unconditionnaly. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* build-sys: Rework SPICE_CHECK_* m4 macrosChristophe Fergeau2015-10-131-6/+9
| | | | | | | | | | | | | | | These macros were automatically appending the needed CFLAGS/LIBS to variables passed as arguments. This is how spice-common uses them, but now how spice-gtk/spice want to use them, and is making the macros more complicated than they could (in particular this makes them use AS_VAR_APPEND). This is also not flexible enough as spice-gtk uses libcacard libraries, while spice-common does not need them. If SPICE_CHECK_SMARTCARD unconditionnally libcacard libraries to the variable spice-common passes it as an argument, we'll end up linking with an unneeded library. This commit removes this automatic appending from the SPICE_CHECK_* macros and moves it to spice-common as it's the only one which needs it.
* build-sys: Use ${PKG_CONFIG} rather than pkg-configChristophe Fergeau2015-10-071-1/+1
| | | | | | | In mingw builds, this will be set to mingw-pkg-config rather than the host system one. This is fixing a build failure on mingw when spice-protocol is only installed in the mingw prefix and not system-wide.
* Add marshaller test caseChristophe Fergeau2015-09-151-0/+1
| | | | | This allows to test the spice_marshaller_linearize() fix which was sent recently.
* Remove files moved to spice-protocolFrediano Ziglio2015-08-111-1/+0
| | | | Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
* Use installed spice-protocol for code generationChristophe Fergeau2015-08-111-1/+3
| | | | | | Now that spice-protocol ships the needed .proto files as well as the corresponding python scripts, spice-common can use these in order to generate the C code for the SPICE (de)marshallers.
* Remove spice-protocol submoduleChristophe Fergeau2015-08-111-3/+1
| | | | | | | | spice-protocol is a separate project which is having releases, so there is no need to have a private spice-protocol copy in each spice-common user, especially as after installation, the system-wide spice-protocol copy will be used instead of the private one the module was built against.
* m4: Add compat AS_VAR_APPEND for older autoconfChristophe Fergeau2015-07-021-4/+0
| | | | This causes failures on EL6 otherwise as autoconf is too old there.
* configure.ac: Check for needed python modules for git buildsChristophe Fergeau2015-04-131-0/+2
| | | | | | | | | | | | After the patch adding support for python 3 to the code generator, python-six is required when building from git. Since I got 2 different reports of SPICE build failures right after introducing it, it's probably better to check for the needed python modules from configure, and exit with an error if they are missing. This commit adds a --enable-python-checks configure flag for that though, since we only want to do that when building from git. It assumes that people running from git will be running autogen.sh, while people building from tarballs will run configure.
* ppc: Fix lz magic endiannessErlon Cruz2015-04-101-0/+1
| | | | | | Signed-off-by: Erlon R. Cruz <erlon.cruz@br.flextronics.com> Signed-off-by: Rafael F. Santos <fonsecasantos.rafael@gmail.com> Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio@fit-tecnologia.org.br>
* build-sys: Move pixman check to m4 macroChristophe Fergeau2014-12-091-3/+1
|
* build-sys: Move opengl check to m4 macroChristophe Fergeau2014-12-091-20/+1
|
* build-sys: Move opus check to m4 macroChristophe Fergeau2014-12-091-4/+1
|
* build-sys: Move celt check to m4 macroChristophe Fergeau2014-12-091-16/+1
|
* build-sys: Move smartcard check to m4 macroChristophe Fergeau2014-12-091-16/+3
|
* build-sys: Move posix checks to a separate m4 macroChristophe Fergeau2014-12-091-23/+2
|
* build-sys: Add fallback for AS_VAR_APPENDChristophe Fergeau2014-12-091-0/+4
| | | | This macro is not available with RHEL6 autoconf.
* build-sys: Remove unused WITH_SMARTCARD conditionalChristophe Fergeau2014-12-081-1/+0
|
* build-sys: Remove unused win32 checkChristophe Fergeau2014-12-081-15/+0
|
* build-sys: Remove unused X checkChristophe Fergeau2014-12-081-1/+0
| | | | | | AC_PATH_X sets a bunch of variables (x_includes, x_libraries, no_x) after finding/not finding X. Since none of them are used afterwards, having this check is not useful.
* Add support for the Opus codec.Jeremy White2014-01-021-0/+4
| | | | Signed-off-by: Jeremy White <jwhite@codeweavers.com>
* Add a snd_codec interface to abstract the use of audio codecs such as celt.Jeremy White2014-01-021-0/+16
| | | | Signed-off-by: Jeremy White <jwhite@codeweavers.com>
* build-sys: add --enable-smartcard=autoMarc-André Lureau2013-09-261-10/+14
| | | | | Use same implementation as spice-gtk, to avoid need to explicitely set smartcard support
* spice-common: remove version constructionMichael Tokarev2013-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Version string isn't used anywhere in spice-common, and there's no version for spice-common module per se, either. Hoever, configure.ac has this: AC_INIT([spice-common], [m4_esyscmd(build-aux/git-version-gen .tarball-version)], [spice-devel@lists.freedesktop.org]) But since git-version-gen script is not provided in spice-common module, multiple error messages are produced when generating configure (running autogen/autoreconf), like this: sh: ./build-aux/git-version-gen: not found (repeated about 50 times). The following trivial patch removes usage of build-aux/git-version-gen from AC_INIT and replaces it with a string "noversion", to stop these scary messages from being produced. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* configure.ac: support automake >= 1.12Alon Levy2012-08-271-0/+3
|
* configure.ac: lower required autoconf version to 2.63Hans de Goede2012-04-031-1/+1
| | | | | | So that one can autogen.sh on RHEL-6. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* build-sys: make it a seperately buildable spice-common libraryMarc-André Lureau2012-03-221-0/+120
- autotoolize - fix headers inclusion - generate gitignores - workaround serverSMARTCARD support with dirty hack...