From 0921bb0b2540aaf5c7c8f36d176c000cb6956b8b Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 20 Jul 2007 14:41:17 +0300 Subject: [PATCH] Check that we can link with expat lib --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 6266d6b..9e7c838 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,11 @@ EXPAT_CFLAGS="-I/usr/include" AC_SUBST(EXPAT_CFLAGS) AC_SUBST(EXPAT_LIBS) +AC_CHECK_LIB([expat], [XML_ParserCreate], + AC_DEFINE(HAVE_LIBEXPAT, 1, [Defined if you have libexpat]) + AC_SUBST(EXPAT_LIB) +) + # Localisation if test "x$HAVE_HILDON" = "xyes"; then localedir=`$PKG_CONFIG osso-af-settings --variable=localedir` -- 2.39.5