Not sure whether this is the best approach for this, basically my problem was that even though configure properly detected that VALAC was not present, it was trying to compile the gtk apps because HAVE_GTK was being detected correctly.
--lf On Fri, Sep 17, 2010 at 4:16 PM, Luis Felipe Strano Moraes <lfel...@profusion.mobi> wrote: > --- > configure.ac | 9 +++++---- > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/configure.ac b/configure.ac > index e3c1fdd..381c582 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -223,9 +223,13 @@ else > fi > AC_SUBST(AUDIT_LIBS) > > +AM_PROG_VALAC([0.9]) > +AC_SUBST(VAPIDIR) > +AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x) > + > have_gtk=no > AC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools])) > -if test "x$enable_gtk" != "xno"; then > +if test "x$enable_gtk" != "xno" -a x"$VALAC" != x; then > PKG_CHECK_MODULES(GTK, [ gtk+-2.0 gio-unix-2.0 libnotify ], > [AC_DEFINE(HAVE_GTK, 1, [Define if GTK is available]) > have_gtk=yes], have_gtk=no) > AC_SUBST(GTK_CFLAGS) > @@ -236,9 +240,6 @@ if test "x$enable_gtk" != "xno"; then > fi > AM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"]) > > -AM_PROG_VALAC([0.9]) > -AC_SUBST(VAPIDIR) > -AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x) > > AC_PATH_PROG([XSLTPROC], [xsltproc]) > AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x) > -- > 1.7.2.2 > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- "I believe in looking reality straight in the eye and denying it." -- Garrison Keillor _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel