summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-27 22:55:25 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-27 22:55:25 +0000
commitb4547c12fc16e4b2fcb4c547beeeee5d8a427615 (patch)
treecbe5a296a00c80b448c8e8bae397d5ddd8be2cd5 /configure
parent1c7f242c96c1fea7b34ff6630db5912f8f5634d0 (diff)
downloadmpv-b4547c12fc16e4b2fcb4c547beeeee5d8a427615.tar.bz2
mpv-b4547c12fc16e4b2fcb4c547beeeee5d8a427615.tar.xz
gcc2.95.x has no support for mvi instructions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10489 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
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