diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-26 13:41:08 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-26 13:41:08 +0000 |
commit | c79050c108309455ac028ab424e309a46aa7dab9 (patch) | |
tree | 8622b6ddf5803bb64e79151b7969f4c5e898a882 /configure | |
parent | 5b9bb9ff3de215e69534f40ff66b7f83af2e9da3 (diff) | |
download | mpv-c79050c108309455ac028ab424e309a46aa7dab9.tar.bz2 mpv-c79050c108309455ac028ab424e309a46aa7dab9.tar.xz |
gcc -dumpversion seems less error prone (tested with 2.95.4 3.0.4 and 3.1)
Suggested by Okki <okki666@nerim.net>
Added gcc-3.1 and gcc-3.0 in the find-a-sane-compiler loop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6197 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -376,12 +376,12 @@ fi # Checking CC version... -# gcc-3.0 merges optimizations coming from egcs, pgcc, agcc, ... if test "$_skip_cc_check" != yes ; then - for _cc in $_cc gcc3 cc; do + for _cc in $_cc 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 -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'` + #cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'` + cc_version=`$_cc -dumpversion` case $cc_version in '') cc_version="v. ?.??, bad" |