From: Måns Rullgård Date: Thu, 5 Mar 2009 21:20:04 +0000 (+0000) Subject: configure: check asm support using $as X-Git-Tag: v0.6~5489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f65883c81264548f1f0a31f7c8cf8512924f8456;p=platform%2Fupstream%2Flibav.git configure: check asm support using $as Originally committed as revision 17828 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index f03052868..d59d81e6e 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 "$@" <