diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-03 14:18:13 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-03 14:18:13 +0000 |
commit | 8d36b5de7865af8c6d355abe2854af781e36488e (patch) | |
tree | 2928edd333108abc32c6ea0e94a610e16d7ab63b /configure | |
parent | f57f36f1f197e2391552466656165f958a963d85 (diff) | |
download | mpv-8d36b5de7865af8c6d355abe2854af781e36488e.tar.bz2 mpv-8d36b5de7865af8c6d355abe2854af781e36488e.tar.xz |
bugfix for cygwin (reports 2.95.3-5)
spotted by "Sycotic Smith" <sycotic@linuxmail.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6280 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -379,15 +379,14 @@ fi if test "$_skip_cc_check" != yes ; then 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 -dumpversion` + cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` + cc_version=`( $_cc -dumpversion ) 2>&1` case $cc_version in '') cc_version="v. ?.??, bad" cc_verc_fail=yes ;; - 2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9]) + 2.95.[2-9]|2.95.[2-9][-.][0-9]|3.[0-9]|3.[0-9].[0-9]) cc_version="$cc_version, ok" cc_verc_fail=no ;; |