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 :|