[Spice-devel] [PATCH spice-gtk 3/6] configure: Fix "USB redirection support" summary on --disable-usbredir
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Feb 22 04:52:07 PST 2012
ack
On Tue, Feb 21, 2012 at 3:12 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> When running "./configure --disable-usbredir" the
> "USB redirection support" line in the summary at the end of ./configure
> would be empty after "support" instead of ending with yes or no.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> configure.ac | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 7876378..fd1f7cb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -341,7 +341,7 @@ AC_ARG_ENABLE([usbredir],
> [enable_usbredir="auto"])
>
> if test "x$enable_usbredir" = "xno"; then
> - AM_CONDITIONAL(WITH_USBREDIR, false)
> + have_usbredir="no"
> else
> PKG_CHECK_MODULES([USBREDIR],
> [gudev-1.0 libusb-1.0 >= 1.0.9 libusbredirhost >= 0.3.4 libusbredirparser >= 0.3.4],
> @@ -353,8 +353,8 @@ else
> if test "x$have_usbredir" = "xyes"; then
> AC_DEFINE(USE_USBREDIR, [1], [Define if supporting usbredir proxying])
> fi
> - AM_CONDITIONAL([WITH_USBREDIR], [test "x$have_usbredir" = "xyes"])
> fi
> +AM_CONDITIONAL([WITH_USBREDIR], [test "x$have_usbredir" = "xyes"])
>
> AC_ARG_ENABLE([polkit],
> AS_HELP_STRING([--enable-polkit=@<:@auto/yes/no@:>@],
> --
> 1.7.7.6
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
More information about the Spice-devel
mailing list