From: Kaj-Michael Lang Date: Wed, 4 Jul 2007 12:11:20 +0000 (+0300) Subject: Add checks for expat and glib X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f4c1af0765ffaaee9cf1cafc2594e33a454ba9;p=mapper Add checks for expat and glib --- diff --git a/configure.ac b/configure.ac index 1ef8d03..6266d6b 100644 --- a/configure.ac +++ b/configure.ac @@ -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`