From f65883c81264548f1f0a31f7c8cf8512924f8456 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Thu, 5 Mar 2009 21:20:04 +0000 Subject: configure: check asm support using $as Originally committed as revision 17828 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f030528688..d59d81e6e3 100755 --- a/configure +++ b/configure @@ -525,12 +525,19 @@ check_cpp(){ check_cmd $cc $CFLAGS "$@" -E -o $TMPO $TMPC } +check_as(){ + log check_as "$@" + cat > $TMPC + log_file $TMPC + check_cmd $as $CFLAGS "$@" -c -o $TMPO $TMPC +} + check_asm(){ log check_asm "$@" name="$1" asm="$2" shift 2 - check_cc "$@" <