summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2018-04-28 00:14:45 +1000
committerJan Schmidt <jan@centricular.com>2018-05-01 16:08:09 +1000
commite48b6c72259f37ac81ad156cace9bd3d639e0339 (patch)
treed636c16c6f69af0f71fc0fe66d67a1e79d6cfa03
parent1830c75cd28fc68bd26f9530db18c2da474a4aa2 (diff)
downloadgst-libav-e48b6c72259f37ac81ad156cace9bd3d639e0339.tar.gz
configure: fix handling of the input AS var passed to ffmpeg
Store the original AS environment variable passed to configure correctly, and export it so it's actually available to the sub-process when configuring the embedded ffmpeg
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 88fd329..64a45a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ GST_API_VERSION=1.0
AC_SUBST(GST_API_VERSION)
dnl *** Check for external $AS vs detected by AS_LIBTOOL
-user_AS="$AS"
+orig_AS="$AS"
AG_GST_LIBTOOL_PREPARE
AS_LIBTOOL(GST, 1400, 0, 1400)
@@ -406,6 +406,7 @@ else
if test x"$orig_AS" != x; then
emblibav_configure_args="$emblibav_configure_args --as=\\\"\\\$orig_AS\\\""
+ export orig_AS
elif test x"$CC" != x; then
dnl No external $AS - try $CC for the libav assembler
emblibav_configure_args="$emblibav_configure_args --as=\\\"\\\$CC\\\""