From 7f11e32e8bea2643336941400784b647717e1f5a Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sat, 28 Apr 2018 00:14:45 +1000 Subject: [PATCH] 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 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a0a1653606..2b02d479b9 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, 1500, 0, 1500) @@ -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\\\""