[Spice-devel] [RFC 14/33] configure.ac: add check for spice-server (allowed to fail)
Christophe Fergeau
cfergeau at redhat.com
Thu Apr 28 07:29:20 PDT 2011
On Wed, Apr 27, 2011 at 06:56:03PM +0300, Alon Levy wrote:
> ---
> configure.ac | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index ce67b41..99bc517 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -76,6 +76,14 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
>
> # Checks for libraries.
>
> +PKG_CHECK_MODULES([SPICE], [spice-server >= 0.6.3],
> +[
> + AC_SUBST(SPICE_CFLAGS)
> + AC_SUBST(SPICE_LIBS)
> +],
> +[
> +]
> +)
I'd put this after patch 15 inside a
AS_IF([test x"$enable_xspice" != "xno"@], PKG_CHECK_MODULES...., ....)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110428/cf09242a/attachment.pgp>
More information about the Spice-devel
mailing list