configure: use AS_O setting in check_as
authorMans Rullgard <mans@mansr.com>
Mon, 27 Aug 2012 21:19:06 +0000 (22:19 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 27 Aug 2012 22:14:06 +0000 (23:14 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index 5505245..6a338c0 100755 (executable)
--- 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(){