From: Kaj-Michael Lang Date: Fri, 20 Jul 2007 11:41:17 +0000 (+0300) Subject: Check that we can link with expat lib X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0921bb0b2540aaf5c7c8f36d176c000cb6956b8b;p=mapper Check that we can link with expat lib --- 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`