X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/5b5fab0065f7b922b03b66d5b40e680a1960d1ca..76fe69e113637a200aafdc2d6dede772706e4b09:/configure.ac diff --git a/configure.ac b/configure.ac index fb9860c7..a184fe8c 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,12 @@ AC_CHECK_LIB(ungif, DGifOpenFileName, HAVE_LIBUNGIF="yes", HAVE_LIBUNGIF="no") LIBUNGIF_LIBS="-lungif" AC_SUBST(LIBUNGIF_LIBS) +TUXBOX_APPS_LIB_PKGCONFIG(XML2,libxml-2.0) + +# ok, we are in trouble: XMLCCWRAP only defines C++ symbols. So let's just check if linking works, +# and assume everything will be ok. Then just check for the "exit" symbol, which should be always there. +TUXBOX_APPS_LIB_SYMBOL(XMLCCWRAP, xmlccwrap, exit) + if test "$withsdl" = "yes" ; then TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config) AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])