From e1f4c1af0765ffaaee9cf1cafc2594e33a454ba9 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 4 Jul 2007 15:11:20 +0300 Subject: [PATCH] Add checks for expat and glib --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) 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` -- 2.39.5