1 From 83b4f84b1c490b9bb816e1ecbc743d80d48cc06d Mon Sep 17 00:00:00 2001
2 From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
3 Date: Tue, 18 Dec 2012 12:05:22 +0100
4 Subject: [PATCH] Fix bashism in configure script.
6 The configure script uses +=, which is not POSIX. Debians that
7 have the default dash as /bin/sh define a variable ending with
8 + instead of appending to it.
10 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 configure.ac | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
15 diff --git a/configure.ac b/configure.ac
16 index 5968eb6..1a31a06 100755
19 @@ -152,7 +152,7 @@ AC_SUBST(GST_PLUGINS_BASE_LIBS)
20 AC_CHECK_HEADERS([vpu_lib.h], [HAVE_VPU_LIB=yes], [HAVE_VPU_LIB=no])
21 if test "x$HAVE_VPU_LIB" = "xyes"; then
22 VPU_LIBS=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
24 + VPU_LIBS="$VPU_LIBS -lvpu"
28 @@ -176,14 +176,14 @@ AC_SUBST(RT_CFLAGS)
31 FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null`
32 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`
33 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null`
34 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`
35 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`"
36 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslparser 2>/dev/null`"
37 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`"
38 AC_SUBST(FSL_MM_CORE_CFLAGS)
40 FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null`
41 -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`
42 -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null`
43 +FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`"
44 +FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslparser 2>/dev/null`"
45 AC_SUBST(FSL_MM_CORE_LIBS)
47 EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_"