]> err.no Git - mapper/commitdiff
Add checks for expat and glib
authorKaj-Michael Lang <milang@onion.tal.org>
Wed, 4 Jul 2007 12:11:20 +0000 (15:11 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Wed, 4 Jul 2007 12:11:20 +0000 (15:11 +0300)
configure.ac

index 1ef8d039d4118a5bf324f29f12b340f74ec6f420..6266d6b15336ad192374089f44fdd3152bf8de70 100644 (file)
@@ -42,6 +42,10 @@ PKG_CHECK_MODULES(GTK, gtk+-2.0)
 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)
 
@@ -99,6 +103,13 @@ PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10)
 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`