Copy metadata for GStreamer1.0 from Yocto GENIVI Baseline
[AGL/meta-agl.git] / meta-ivi-common / recipes-multimedia / gstreamer / gstreamer1.0-libav / 0001-Disable-yasm-for-libav-when-disable-yasm.patch
1 From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
2 From: Carlos Rafael Giani <dv@pseudoterminal.org>
3 Date: Sat, 6 Apr 2013 01:22:22 +0200
4 Subject: [PATCH] Disable yasm for libav when --disable-yasm
5
6 Upstream-Status: Inappropriate [configuration]
7
8 Signed-off-by: Shane Wang <shane.wang@intel.com>
9 Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10 ---
11  configure.ac | 4 ++++
12  1 file changed, 4 insertions(+)
13
14 diff --git a/configure.ac b/configure.ac
15 index 22ede88..ef3c050 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -305,6 +305,12 @@ else
19      emblibav_configure_args="$emblibav_configure_args --enable-gpl"
20    fi
21
22 +  AC_ARG_ENABLE(yasm,
23 +              [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
24 +  if test "x$enable_yasm" = "xno"; then
25 +    emblibav_configure_args="$emblibav_configure_args --disable-yasm"
26 +  fi
27 +
28    # if we are cross-compiling, tell libav so
29    case $host in
30        *android*)
31 -- 
32 1.8.2
33