Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.704 diff -u -r1.704 configure --- configure 11 May 2003 18:53:12 -0000 1.704 +++ configure 14 May 2003 19:26:48 -0000 @@ -471,6 +471,11 @@ echocheck "$_cc version" cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` cc_version=`( $_cc -dumpversion ) 2>&1` + # some icc detection hacks + if test "$?" -gt 0; then + cc_version=`( $_cc -V ) 2>&1` + cc_version=`echo $cc_version | cut -d ' ' -f 8` + fi if test "$?" -gt 0; then cc_version="not found" fi @@ -478,6 +483,14 @@ '') cc_version="v. ?.??, bad" cc_verc_fail=yes + ;; + # icc support + 7.1) + _cc_major=`echo $cc_version | cut -d '.' -f 1` + _cc_minor=`echo $cc_version | cut -d '.' -f 2` + _cc_mini=0 + cc_version="$cc_version, ok" + cc_verc_fail=no ;; 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]) _cc_major=`echo $cc_version | cut -d '.' -f 1`