Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[droid] add additional player selection support

  • Loading branch information...
commit edc6ff46963f452c2f9ddaa148a375b247b986b0 1 parent 490d488
@davilla davilla authored Cory Fields committed
Showing with 27 additions and 0 deletions.
  1. +27 −0 configure.in
View
27 configure.in 100755 → 100644
@@ -15,6 +15,21 @@ tolower(){
echo "$@" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
}
+# check for enabling additional players
+AC_DEFUN([XB_ADD_PLAYER],
+[
+ AC_MSG_CHECKING([for $2])
+ case $add_players in
+ *$2*)
+ AC_SUBST([USE_$1], 1)
+ AC_DEFINE([HAS_$1], 1, [using $2])
+ AC_MSG_RESULT([enabling $2])
+ ;;
+ *)
+ AC_MSG_RESULT([$2 is not enabled])
+ esac
+])
+
# check for library basenames
AC_DEFUN([XB_FIND_SONAME],
[
@@ -458,6 +473,12 @@ AC_ARG_ENABLE([libcap],
[use_libcap=$enableval],
[use_libcap=auto])
+AC_ARG_ENABLE([player],
+ [AS_HELP_STRING([--enable-player],
+ [enable additional players from a list of comma separated names, (default is none)])],
+ [add_players=$enableval],
+ [add_players=no])
+
### External libraries options
AC_ARG_ENABLE([external-libraries],
[AS_HELP_STRING([--enable-external-libraries],
@@ -2046,6 +2067,12 @@ else
final_message="$final_message\n libcap support:\tNo"
fi
+if test "x$add_players" != "xno"; then
+ final_message="$final_message\n additional players:\tYes"
+else
+ final_message="$final_message\n additional players:\tNo"
+fi
+
### External libraries messages
if test "$use_external_ffmpeg" = "yes"; then
Please sign in to comment.
Something went wrong with that request. Please try again.