AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
+PKG_CHECK_MODULES(GLIB, glib-2.0)
+AC_SUBST(GLIB_LIBS)
+AC_SUBST(GLIB_CFLAGS)
+
dnl Ckeck for hildon-libs
PKG_CHECK_MODULES(HILDON, hildon-libs libosso, HAVE_HILDON=yes, HAVE_HILDON=no)
AC_SUBST(GSTREAMER_LIBS)
AC_SUBST(GSTREAMER_CFLAGS)
+# XXX: Check for expat
+AC_CHECK_HEADER(expat.h)
+EXPAT_LIBS="-lexpat"
+EXPAT_CFLAGS="-I/usr/include"
+AC_SUBST(EXPAT_CFLAGS)
+AC_SUBST(EXPAT_LIBS)
+
# Localisation
if test "x$HAVE_HILDON" = "xyes"; then
localedir=`$PKG_CONFIG osso-af-settings --variable=localedir`