git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a159505
)
linking XMLCCWRAP with gcc might fail, so switch language
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 22 Sep 2008 12:39:44 +0000
(12:39 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 22 Sep 2008 12:39:44 +0000
(12:39 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 6a71b114713bb78f491acf965eef847b8aa9def6..fd3dc63c0fa3a898f9d61b0026afbd8a0e2cdbdc 100644
(file)
--- 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)