[Spice-devel] [PATCH] Check for Vala when building controller

Jonathon Jongsma jjongsma at redhat.com
Thu Aug 22 12:49:07 PDT 2013


Since the controller requires vala, we need to check for valac when building
even if --enable-vala was not specified.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1235f4a..a313bdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -559,7 +559,7 @@ AC_ARG_ENABLE([vala],
   enable_vala="no")
 
 VALA_REQUIRED=0.14
-if test x$enable_vala = xyes ; then
+if test x$enable_vala = xyes -o x$enable_controller = xyes ; then
     # check for vala
     AM_PROG_VALAC([$VALA_REQUIRED])
     AC_PATH_PROG(VAPIGEN, vapigen, no)
-- 
1.8.3.1



More information about the Spice-devel mailing list