From 3888341b563cf2c3b16c41b687361bc38858a72e Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 22 Sep 2008 12:39:44 +0000 Subject: [PATCH] linking XMLCCWRAP with gcc might fail, so switch language --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 6a71b114..fd3dc63c 100644 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,10 @@ 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. +AC_LANG_SAVE +AC_LANG_CPLUSPLUS TUXBOX_APPS_LIB_SYMBOL(XMLCCWRAP, xmlccwrap, exit) +AC_LANG_RESTORE if test "$withsdl" = "yes" ; then _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(SDL,sdl,WITH_SDL) -- 2.30.2