From b4547c12fc16e4b2fcb4c547beeeee5d8a427615 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 27 Jul 2003 22:55:25 +0000 Subject: gcc2.95.x has no support for mvi instructions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10489 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure') diff --git a/configure b/configure index f1841da7aa..61d49629f1 100755 --- a/configure +++ b/configure @@ -919,6 +919,15 @@ EOF fi _mcpu="-mcpu=$proc" echores "$proc" + + echocheck "MVI instruction support in GCC" + if test "$_cc_major" -ge "3"; then + _def_gcc_mvi_support="#define CAN_COMPILE_ALPHA_MVI 1" + echores "yes" + else + _def_gcc_mvi_support="#undef CAN_COMPILE_ALPHA_MVI" + echores "no" + fi ;; mips) @@ -5788,6 +5797,9 @@ $_def_arch #define ARCH_ARM 1 #endif +/* only gcc3 can compile mvi instructions */ +$_def_gcc_mvi_support + /* Define this for Cygwin build for win32 */ $_def_confwin32 -- cgit v1.2.3