diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-11-04 23:06:36 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-11-04 23:06:36 +0000 |
| commit | 14b4c911f077639728fa51a5246739670ca62fdc (patch) | |
| tree | 73231acc9e944fb343424c98e6ffa4c882b02ec8 /configure.ac | |
| parent | 3239483691684e77e0ecd555e2b643e9245c37c6 (diff) | |
| download | enigma2-14b4c911f077639728fa51a5246739670ca62fdc.tar.gz enigma2-14b4c911f077639728fa51a5246739670ca62fdc.zip | |
use autoconf macros for determining xml2 and xmlccwrap linking
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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]) |
