From edab3048c29e055256f36eae6de4c8f36d49bee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 27 Jan 2007 00:51:57 +0000 Subject: [PATCH] check for ARMv6 instruction set support Originally committed as revision 7719 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure b/configure index 7ba0565df2..8277229530 100755 --- a/configure +++ b/configure @@ -117,6 +117,7 @@ show_help(){ echo " (requires enabling PMC)" echo " --disable-mmx disable MMX usage" echo " --disable-armv5te disable armv5te usage" + echo " --disable-armv6 disable armv6 usage" echo " --disable-iwmmxt disable iwmmxt usage" echo " --disable-altivec disable AltiVec usage" echo " --disable-audio-oss disable OSS audio support [default=no]" @@ -465,6 +466,7 @@ CONFIG_LIST=' HAVE_LIST=' altivec_h + armv6 beosthreads byteswap_h dcbzl @@ -574,6 +576,7 @@ mmx="default" cmov="no" cmov_is_fast="no" armv5te="default" +armv6="default" iwmmxt="default" altivec="default" dcbzl="no" @@ -963,6 +966,8 @@ for opt do ;; --disable-armv5te) armv5te="no" ;; + --disable-armv6) armv6="no" + ;; --disable-iwmmxt) iwmmxt="no" ;; --disable-altivec) altivec="no" @@ -1449,6 +1454,14 @@ if test $armv5te = "default" -a $arch = "armv4l"; then EOF fi +if test $armv6 = "default" -a $arch = "armv4l"; then + check_cc <