[Spice-devel] [PATCH 02/24] build: alsa is needed on linux only.
Hans de Goede
hdegoede at redhat.com
Wed Dec 8 00:27:23 PST 2010
Ack.
On 12/07/2010 10:28 PM, Alon Levy wrote:
> From: Gerd Hoffmann<kraxel at redhat.com>
>
> Signed-off-by: Gerd Hoffmann<kraxel at redhat.com>
> ---
> configure.ac | 10 ++++++----
> 1 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 4f3b118..7718a6d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -199,10 +199,12 @@ AC_SUBST(CELT051_LIBS)
> AC_SUBST(CELT051_LIBDIR)
> SPICE_REQUIRES+=" celt051>= 0.5.1.1"
>
> -PKG_CHECK_MODULES(ALSA, alsa)
> -AC_SUBST(ALSA_CFLAGS)
> -AC_SUBST(ALSA_LIBS)
> -SPICE_REQUIRES+=" alsa"
> +if test "$os_linux" = yes; then
> + PKG_CHECK_MODULES(ALSA, alsa)
> + AC_SUBST(ALSA_CFLAGS)
> + AC_SUBST(ALSA_LIBS)
> + SPICE_REQUIRES+=" alsa"
> +fi
>
> PKG_CHECK_MODULES(SSL, openssl)
> AC_SUBST(SSL_CFLAGS)
More information about the Spice-devel
mailing list