diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-09-22 12:39:44 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-09-22 12:39:44 +0000 |
| commit | 3888341b563cf2c3b16c41b687361bc38858a72e (patch) | |
| tree | 9fb2503612b657b99b3ac97a2e97b2d671e17008 | |
| parent | a1595050bc43d70aa8df213c0c7ac8217d61b778 (diff) | |
| download | enigma2-3888341b563cf2c3b16c41b687361bc38858a72e.tar.gz enigma2-3888341b563cf2c3b16c41b687361bc38858a72e.zip | |
linking XMLCCWRAP with gcc might fail, so switch language
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
