Mercurial > mplayer.hg
comparison configure @ 31503:4d06e790f7ad
Experimental support for clang compiler.
author | reimar |
---|---|
date | Sun, 27 Jun 2010 19:07:51 +0000 |
parents | 71917902699c |
children | 7ad75a6dc1b4 |
comparison
equal
deleted
inserted
replaced
31502:c95e08f87c70 | 31503:4d06e790f7ad |
---|---|
1590 ;; | 1590 ;; |
1591 esac | 1591 esac |
1592 echores "$cc_version" | 1592 echores "$cc_version" |
1593 break | 1593 break |
1594 fi | 1594 fi |
1595 cc_name_tmp=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 1) | |
1596 if test "$cc_name_tmp" = "clang"; then | |
1597 echocheck "$_cc version" | |
1598 cc_vendor=clang | |
1599 cc_version=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 3) | |
1600 res_comment="experimental support only" | |
1601 echores "clang $cc_version" | |
1602 break | |
1603 fi | |
1595 cc_name_tmp=$($_cc -V 2>&1 | head -n 1 | cut -d ' ' -f 2,3) | 1604 cc_name_tmp=$($_cc -V 2>&1 | head -n 1 | cut -d ' ' -f 2,3) |
1596 if test "$cc_name_tmp" = "Sun C"; then | 1605 if test "$cc_name_tmp" = "Sun C"; then |
1597 echocheck "$_cc version" | 1606 echocheck "$_cc version" |
1598 cc_vendor=sun | 1607 cc_vendor=sun |
1599 cc_version=$($_cc -V 2>&1 | head -n 1 | cut -d ' ' -f 4) | 1608 cc_version=$($_cc -V 2>&1 | head -n 1 | cut -d ' ' -f 4) |