From 3eb985a5b256958370d8d5cb4864e31a0458b05f Mon Sep 17 00:00:00 2001 From: wsnipex Date: Sun, 4 Nov 2012 14:05:52 +0100 Subject: [PATCH] configure: add --enable-pvraddons-with-dependencies switch for intree building of PVR Addons --- configure.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.in b/configure.in index 7889dde..fd6cea0 100644 --- a/configure.in +++ b/configure.in @@ -521,6 +521,14 @@ AC_ARG_ENABLE([external-ffmpeg], [use_external_ffmpeg=$use_external_libraries]) ### End of external library options +### PVR addons specific +AC_ARG_ENABLE([pvraddons-with-dependencies], + [AS_HELP_STRING([--enable-pvraddons-with-dependencies], + [enable build of pvr addons with dependencies (default is no) 'Linux only'])], + [use_pvraddons_with_deps=$enableval], + [use_pvraddons_with_deps=no]) + +### End PVR addons specific if test "x$host_vendor" != "xapple"; then DEFAULT_COMPILE_FLAGS="-fPIC -DPIC -D_REENTRANT" @@ -2764,12 +2772,16 @@ XB_CONFIG_MODULE([pvr-addons], [ if test "$USE_EXTERNAL_FFMPEG" = 1; then PVR_EXT_FFMPEG="--enable-external-ffmpeg" fi + if test "$use_pvraddons_with_deps" = "yes"; then + ADDONS_WITH_DEPS="--enable-addons-with-dependencies" + fi ./configure \ --prefix="${prefix}" \ --host=$host_alias \ --build=$build_alias \ --target=$target_alias \ $PVR_EXT_FFMPEG \ + $ADDONS_WITH_DEPS \ CC="$CC" \ CXX="$CXX" \ CFLAGS="$CFLAGS" \ -- 1.7.10