Mercurial > mplayer.hg
changeset 6279:bf33e2a04dfa
bugfix for cygwin (reports 2.95.3-5)
spotted by "Sycotic Smith" <sycotic@linuxmail.org>
author | pl |
---|---|
date | Mon, 03 Jun 2002 14:18:13 +0000 |
parents | a88b82461c17 |
children | cf2c2b92d1a7 |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Mon Jun 03 14:13:28 2002 +0000 +++ b/configure Mon Jun 03 14:18:13 2002 +0000 @@ -379,15 +379,14 @@ 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 ;;