-dnl GTK is optional and used in examples
-HAVE_GTK=NO
-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0, HAVE_GTK=yes, HAVE_GTK=no)
-AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
-
-dnl Check for vala
-PKG_CHECK_EXISTS([vala-1.0], [HAVE_VALA="yes"], [HAVE_VALA="no"])
-
-AM_CONDITIONAL(WITH_VALA, [test "x$HAVE_VALA" = "xyes"])
-
-AC_ARG_WITH([vapidir],
- AS_HELP_STRING([--with-vapidir], [Define where to install the VAPI files]))
-
-if test "x$HAVE_VALA" = "xyes"; then
- if test "x$with_vapidir" = "x"; then
- VAPIDIR="`pkg-config --variable vapidir vala-1.0`"
- else
- VAPIDIR="$with_vapidir"
- fi
-fi
-AC_SUBST(VAPIDIR)
-
-