[MPlayer-cvslog] r33723 - trunk/configure

diego subversion at mplayerhq.hu
Sat Jun 25 03:22:43 CEST 2011


Author: diego
Date: Sat Jun 25 03:22:43 2011
New Revision: 33723

Log:
configure: Correctly check for the clang compiler.

patch by Jeremy Huddleston, jeremyhu macports org

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jun 25 02:36:52 2011	(r33722)
+++ trunk/configure	Sat Jun 25 03:22:43 2011	(r33723)
@@ -1661,8 +1661,7 @@ else
       echores "$cc_version"
       break
     fi
-    cc_name_tmp=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 1)
-    if test "$cc_name_tmp" = "clang"; then
+    if $_cc -v 2>&1 | grep -q "clang"; then
       echocheck "$_cc version"
       cc_vendor=clang
       cc_version=$($_cc -dumpversion 2>&1)


More information about the MPlayer-cvslog mailing list