[FFmpeg-cvslog] r24009 - trunk/configure

conrad subversion
Fri Jul 2 23:04:39 CEST 2010


Author: conrad
Date: Fri Jul  2 23:04:39 2010
New Revision: 24009

Log:
Use __clang_version__ when available

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul  2 21:26:27 2010	(r24008)
+++ trunk/configure	Fri Jul  2 23:04:39 2010	(r24009)
@@ -1761,7 +1761,8 @@ elif $cc -version 2>/dev/null | grep -q 
     }
 elif $cc -v 2>&1 | grep -q clang; then
     cc_type=clang
-    cc_version=__VERSION__
+    $cc -dM -E $TMPC | grep -q __clang_version__ &&
+        cc_version=__clang_version__ || cc_version=__VERSION__
     CC_DEPFLAGS='-MMD'
     AS_DEPFLAGS='-MMD'
     speed_cflags='-O3'



More information about the ffmpeg-cvslog mailing list