[virt-tools-list] [PATCH v2 03/16] build-sys: check for VTE library
Victor Toso
victortoso at redhat.com
Thu Dec 20 16:13:33 UTC 2018
Hi,
On Wed, Sep 26, 2018 at 07:26:26PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
> ---
> configure.ac | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 9b52eb4..e2d86a6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -172,6 +172,18 @@ AS_IF([test "x$with_spice_gtk" = "xyes"],
> )
> AM_CONDITIONAL([HAVE_SPICE_GTK], [test "x$with_spice_gtk" = "xyes"])
>
> +AC_ARG_WITH([vte],
> + AS_HELP_STRING([--without-vte], [Ignore presence of vte and disable it]))
> +
> +AS_IF([test "x$with_vte" != "xno" && test "x$with_vte" != "xyes"],
> + [PKG_CHECK_EXISTS([vte-2.91], [with_vte=yes], [with_vte=no])])
> +
> +AS_IF([test "x$with_vte" = "xyes"],
> + [PKG_CHECK_MODULES(VTE, [vte-2.91])]
> + [AC_DEFINE([HAVE_VTE], 1, [Have vte?])]
> +)
> +AM_CONDITIONAL([HAVE_VTE], [test "x$with_vte" = "xyes"])
> +
> AC_ARG_WITH([ovirt],
> AS_HELP_STRING([--without-ovirt], [Ignore presence of librest and disable oVirt support]))
>
> @@ -271,6 +283,8 @@ AC_MSG_NOTICE([ GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS])
> AC_MSG_NOTICE([])
> AC_MSG_NOTICE([ SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS])
> AC_MSG_NOTICE([])
> +AC_MSG_NOTICE([ VTE: $VTE_CFLAGS $VTE_LIBS])
> +AC_MSG_NOTICE([])
> AC_MSG_NOTICE([ LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS])
> AC_MSG_NOTICE([])
> AC_MSG_NOTICE([ LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS])
> --
> 2.19.0.271.gfe8321ec05
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20181220/b6fa37d9/attachment.sig>
More information about the virt-tools-list
mailing list