[vlc-commits] configure: live555 needs CXX check regardless of --with-live555-tree
Rémi Denis-Courmont
git at videolan.org
Mon Nov 14 17:35:09 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 14 17:41:16 2011 +0200| [ed98cfc61a0b0e2eacf212c0fee2cee516e8175a] | committer: Rémi Denis-Courmont
configure: live555 needs CXX check regardless of --with-live555-tree
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed98cfc61a0b0e2eacf212c0fee2cee516e8175a
---
configure.ac | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 225dd05..7e6ab4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1740,12 +1740,11 @@ AC_ARG_ENABLE(live555,
AC_ARG_WITH(live555-tree,
[AS_HELP_STRING([--with-live555-tree=PATH],
[live555 tree for static linking])])
-if test "${enable_live555}" != "no"; then
-
+AS_IF([test "${enable_live555}" != "no" -a -n "${CXX}"], [
dnl
dnl test for --with-live555-tree
dnl
- if test -z "${with_live555_tree}" -a "${CXX}" != ""; then
+ if test -z "${with_live555_tree}"; then
AC_LANG_PUSH(C++)
CPPFLAGS_save="${CPPFLAGS}"
if test -z "${CONTRIB_DIR}"; then
@@ -1857,7 +1856,7 @@ lternatively you can use --disable-live555 to disable the liveMedia plugin.])
fi
fi
fi
-fi
+])
dnl
dnl - special access module for dc1394 input
More information about the vlc-commits
mailing list