summaryrefslogtreecommitdiffstats
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Use lz4 if possiblePavel Grunt2016-01-281-5/+11
| | | | | | Change the default option to "auto" Acked-by: Victor Toso <victortoso@redhat.com>
* m4: Add macro for --with-saslPavel Grunt2015-12-181-0/+27
| | | | | | | | It is not used by spice-common, but both server and client can use it. Compared to current checks in spice-gtk and spice server this macro only supports libsasl2. Acked-by: Christophe Fergeau <cfergeau@redhat.com>
* m4: Fix SPICE_WARNING on el6Christophe Fergeau2015-12-141-1/+1
| | | | | autogen.sh fails on el6 unless the second argument to AC_DEFUN([SPICE_WARNING]) is enclosed in []
* Use new libcacard.h if possibleMarc-André Lureau2015-11-251-1/+7
| | | | | | | | | libcacard.h requires 2.5.1. Keep compatibility for older versions until the transition in distros to the standalone version is done. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> [ Christophe: add < 2.5.1 fallback ] Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
* build-sys: Add SPICE_CHECK_GSTREAMER_ELEMENTS()Francois Gouget2015-11-161-0/+36
| | | | | | | | This makes it possible to warn the developer that the GStreamer elements needed at runtime are missing and give him a hint on how to fix the issue. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
* build-sys: Add SPICE_CHECK_GSTREAMER()Francois Gouget2015-11-041-0/+20
| | | | | | | This simplifies checking for GStreamer modules by setting all the variables we normally need. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
* build-sys: Add the SPICE_WARNING() and SPICE_PRINT_MESSAGES m4 macrosFrancois Gouget2015-11-041-0/+21
| | | | | | | | | | A call to SPICE_WARNING() anywhere in the configure file results in the warning being printed at the end of the configure run where it will be be visible. This makes it possible to keep the SPICE_WARNING() calls together with the related feature checks instead of having to put a separate AC_MSG_WARN() call near the end. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
* build-sys: Add missing # to commentChristophe Fergeau2015-11-021-1/+1
| | | | | | SPICE_CHECK_SMARTCARD documentation ends with a '-------' comment, but the # to start the comment is missing, causing a warning message when running configure.
* build-sys: Rename SUPPORT_GL to HAVE_GLChristophe Fergeau2015-10-231-2/+2
| | | | | The other conditionals are using the HAVE_ prefix, using HAVE_GL rather than SUPPORT_GL improves consistency.
* build-sys: Set automake conditional in SPICE_CHECK_SMARTCARDChristophe Fergeau2015-10-231-2/+4
| | | | spice-server will use this.
* build-sys: Fix error in SPICE_CHECK_LZ4 descriptionChristophe Fergeau2015-10-231-1/+1
| | | | This macro does not define a SUPPORT_LZ4 automake conditional.
* build-sys: Add gio-2.0 to SPICE_CHECK_GLIB2Christophe Fergeau2015-10-231-1/+1
| | | | | | GInetAddress is defined in gio, not glib. Not checking for gio-2.0 in SPICE_CHECK_GLIB2 means gio won't be in GLIB2_LIBS, which causes link errors when trying to build spice-server.
* m4: Require glib version >= 2.22Lukas Venhoda2015-10-231-1/+1
| | | | This is required by the GInetAddress functions.
* build-sys: Rework SPICE_CHECK_* m4 macrosChristophe Fergeau2015-10-131-50/+31
| | | | | | | | | | | | | | | 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.
* Use installed spice-protocol for code generationChristophe Fergeau2015-08-111-0/+1
| | | | | | 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.
* m4: Add compat AS_VAR_APPEND for older autoconfChristophe Fergeau2015-07-021-0/+5
| | | | This causes failures on EL6 otherwise as autoconf is too old there.
* m4: Add macro for --enable-lz4Christophe Fergeau2015-06-171-0/+24
| | | | | It's not directly used by spice-common, but this way spice-gtk and spice-server can share the same implementation.
* configure.ac: Check for needed python modules for git buildsChristophe Fergeau2015-04-132-0/+68
| | | | | | | | | | | | 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: build-sys: Add big-endian supportErlon Cruz2015-04-101-0/+1
| | | | | | | | | | A few files (the generated marshalling code and pixman-related utils) make use of WORDS_BIGENDIAN in order to do the right thing depending on endianness. configure.ac must call AC_C_BIGENDIAN for it to be defined. 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>
* ppc: Fix lz magic endiannessErlon Cruz2015-04-101-0/+12
| | | | | | 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-0/+12
|
* build-sys: Move opengl check to m4 macroChristophe Fergeau2014-12-091-0/+31
|
* build-sys: Move opus check to m4 macroChristophe Fergeau2014-12-091-0/+18
|
* build-sys: Move celt check to m4 macroChristophe Fergeau2014-12-091-0/+26
|
* build-sys: Move smartcard check to m4 macroChristophe Fergeau2014-12-091-0/+29
|
* build-sys: Move posix checks to a separate m4 macroChristophe Fergeau2014-12-091-0/+27
|
* build-sys: make it a seperately buildable spice-common libraryMarc-André Lureau2012-03-221-0/+0
- autotoolize - fix headers inclusion - generate gitignores - workaround serverSMARTCARD support with dirty hack...