summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-28 11:57:09 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-28 11:57:09 +0000
commit992e2d666f04dda3d4d7c76bb6a8f1d772362e15 (patch)
tree94c6c022fd4640230faf33cee4f6ddfcc8e5da7a /configure
parent3517a9b72b06aeb962487e9d0025e22cd6d0f575 (diff)
downloadmpv-992e2d666f04dda3d4d7c76bb6a8f1d772362e15.tar.bz2
mpv-992e2d666f04dda3d4d7c76bb6a8f1d772362e15.tar.xz
Fix compilation with gcc 2.95.3 (with --disable-ass).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31105 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index f017fd6f80..05be2b712a 100755
--- a/configure
+++ b/configure
@@ -1673,6 +1673,12 @@ elif x86; then
_cpuinfo="./cpuinfo$_exesuf"
fi
+if [ "$cc_vendor" = "gnu" ] && [ "$_cc_major" = 2 ] ; then
+ test $_sse = auto && _sse=no
+ test $_win32dll = auto && _win32dll=no
+ ass_internal=no
+fi
+
if x86 ; then
# gather more CPU information
pname=$($_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -n 1)