[systemd-devel] [PATCH] Don't require vala if gtk is disabled

Lucas De Marchi lucas.demarchi at profusion.mobi
Tue Nov 16 05:47:32 PST 2010


---
 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index b37e994..56f9413 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,10 +259,10 @@ if test "$have_gtk" = "yes"; then
         PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify >= 0.7.0 ])
         AC_SUBST(LIBNOTIFY_CFLAGS)
         AC_SUBST(LIBNOTIFY_LIBS)
-fi
 
-AM_PROG_VALAC([0.11])
-AC_SUBST(VAPIDIR)
+	AM_PROG_VALAC([0.11])
+	AC_SUBST(VAPIDIR)
+fi
 AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
 
 AC_PATH_PROG([XSLTPROC], [xsltproc])
-- 
1.7.3.2



More information about the systemd-devel mailing list