summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-24 07:44:38 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-24 07:44:38 +0000
commit0167154bbc67768235a1c21dc4c661aac88f50b2 (patch)
tree7cb0be5b688aece329cb56e2d9351cea34c5c36a /configure
parentdc4e6d9101f4f73bf1c3f8d398ed209b77f20294 (diff)
downloadmpv-0167154bbc67768235a1c21dc4c661aac88f50b2.tar.bz2
mpv-0167154bbc67768235a1c21dc4c661aac88f50b2.tar.xz
fix issue when compiler is called 'cc', and --disable-gcc-checking was used
(it would force the compiler to be 'gcc') Patch by Pierre Lombard <p_l@gmx.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11257 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index c4a1812b15..ec2c17d668 100755
--- a/configure
+++ b/configure
@@ -325,7 +325,7 @@ done # for parm in ...
# 1st pass checking for vital options
_install=install
_ranlib=ranlib
-_cc=gcc
+_cc=cc
test "$CC" && _cc="$CC"
_as=auto
_runtime_cpudetection=no
@@ -485,7 +485,7 @@ fi
# Checking CC version...
if test "$_skip_cc_check" != yes ; then
- for _cc in "$_cc" gcc-3.1 gcc3 gcc-3.0 cc ; do
+ for _cc in "$_cc" gcc gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do
echocheck "$_cc version"
cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
cc_version=`( $_cc -dumpversion ) 2>&1`