spice-common/m4
Christophe Fergeau 42795a6d00 build: Use AM_COND_IF
AM_COND_IF can be replaced in constructs like:

    AM_CONDITIONAL([HAVE_OPUS], [test "x$have_opus" = "xyes"])
    if test "x$have_opus" = "xyes" ; then
      AC_DEFINE([HAVE_OPUS], [1], [Define if we have OPUS])
    fi

which becomes:

    AM_CONDITIONAL([HAVE_OPUS], [test "x$have_opus" = "xyes"])
    AM_COND_IF([HAVE_OPUS], AC_DEFINE([HAVE_OPUS], [1], [Define if we have OPUS]))

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2018-06-05 14:10:07 +01:00
..
.gitignore build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
ax_python_module.m4 configure.ac: Check for needed python modules for git builds 2015-04-13 13:08:11 +02:00
spice_manual.m4 Start adding protocol file documentation 2016-10-17 11:43:26 +01:00
spice-deps.m4 build: Use AM_COND_IF 2018-06-05 14:10:07 +01:00