Re: [osinfo PATCH 2/2] configure.ac: don't error out when vala autodetection fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 27, 2012 at 02:48:59PM +0200, Christophe Fergeau wrote:
> When --enable-vala or --disable-vala are not passed to configure,
> configure.ac automatically checks for vala availability. However,
> in this case, it's erroring out when vapigen cannot be found instead
> of silently disabling it.
> ---
>  configure.ac |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index ae5023c..90d7db8 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -120,7 +120,9 @@ if test "x$enable_introspection" = "xyes" ; then
>                          fi
>                          AC_SUBST(VAPIGEN)
>                  else
> -                        AC_MSG_ERROR([Cannot find the "vapigen" binary in your PATH])
> +                        if test "x$enable_vala" == "xyes" ; then
> +                                AC_MSG_ERROR([Cannot find the "vapigen" binary in your PATH])
> +                        fi
>                  fi
>          fi
>  fi

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux