[FFmpeg-cvslog] configure: use AS_O setting in check_as

Mans Rullgard git at videolan.org
Tue Aug 28 16:33:23 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Aug 27 22:19:06 2012 +0100| [df0d63413801830b2b920259d4cefc85af1a8de4] | committer: Mans Rullgard

configure: use AS_O setting in check_as

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df0d63413801830b2b920259d4cefc85af1a8de4
---

 configure |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 5505245..6a338c0 100755
--- a/configure
+++ b/configure
@@ -652,11 +652,15 @@ check_cpp(){
     check_cmd $cc $CPPFLAGS $CFLAGS "$@" $(cc_e $TMPO) $TMPC
 }
 
+as_o(){
+    eval printf '%s\\n' $AS_O
+}
+
 check_as(){
     log check_as "$@"
     cat > $TMPC
     log_file $TMPC
-    check_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C -o $TMPO $TMPC
+    check_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPC
 }
 
 check_inline_asm(){



More information about the ffmpeg-cvslog mailing list