[virt-tools-list] [osinfo PATCH 2/2] configure.ac: don't error out when vala autodetection fails
Christophe Fergeau
cfergeau at redhat.com
Tue Mar 27 12:48:59 UTC 2012
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
--
1.7.9.3
More information about the virt-tools-list
mailing list