diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-27 22:55:25 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-27 22:55:25 +0000 |
commit | b4547c12fc16e4b2fcb4c547beeeee5d8a427615 (patch) | |
tree | cbe5a296a00c80b448c8e8bae397d5ddd8be2cd5 /configure | |
parent | 1c7f242c96c1fea7b34ff6630db5912f8f5634d0 (diff) | |
download | mpv-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-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |