summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 09:38:18 +0000
committernickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 09:38:18 +0000
commitb0c679738735c8097d39e6c96d24685d679e68d4 (patch)
tree6f8ad9752c62f8fb866f5f59e9df14bb08f47dbd /configure
parentf1493adf5d59e353aceecdde16295d6a84fadd85 (diff)
downloadmpv-b0c679738735c8097d39e6c96d24685d679e68d4.tar.bz2
mpv-b0c679738735c8097d39e6c96d24685d679e68d4.tar.xz
Enable to avoid checking version of gcc. New tests of as
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@989 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 49c76df7a2..706db45e4c 100755
--- a/configure
+++ b/configure
@@ -111,6 +111,8 @@ params:
--enable-xmmp use XMMP audio drivers
--enable-lirc enable LIRC (remote control) support
+ --disable-gcc-checking disable gcc version checking
+
--disable-select disable audio select() support ( for example required this
option ALSA or Vortex2 driver )
@@ -179,6 +181,9 @@ do
--cc=*)
_cc=`echo $ac_option | cut -d '=' -f 2`
;;
+ --disable-gcc-checking=*)
+ _skip_cc_check=yes
+ ;;
--with-x11libdir=*)
_x11libdir=-L`echo $ac_option | cut -d '=' -f 2`
;;
@@ -192,6 +197,7 @@ do
done
# Checking CC version...
+if ! test -z "$_skip_cc_check"; then
echo "checking version of $CC""... $_cc"
cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
case $cc_version in
@@ -205,6 +211,10 @@ if ! test -z "$cc_verc_fail"; then
echo "Please downgrade(upgrade) gcc compiler to gcc-2.95.2+ or gcc-3.0+ version"
exit
fi
+fi
+if test -z "$_skip_cc_check"; then
+echo "YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY BUGREPORTS!"
+fi
# ---
pname=`cat /proc/cpuinfo | grep 'model name' | cut -d ':' -f 2`
@@ -748,6 +758,10 @@ do
done
# Checking as compatibility...
+cat > astest.S <<EOF
+filds -2(%ebp)
+EOF
+as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
if [ $_mmx = 'yes' ]; then
cat > astest.S <<EOF
emms
@@ -760,6 +774,12 @@ femms
EOF
as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
fi
+if [ $_3dnowex = 'yes' ]; then
+cat >> astest.S <<EOF
+pswapd %mm0, %mm0
+EOF
+as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
+fi
if [ $_mmx2 = 'yes' ]; then
cat >> astest.S <<EOF
movntq %mm0, (%eax)