[FFmpeg-devel] [PATCH] Use __clang_version__ when available
David Conrad
lessen42
Tue Jun 29 08:43:30 CEST 2010
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 60775b5..8aebe5a 100755
--- a/configure
+++ b/configure
@@ -1752,7 +1752,7 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
}
elif $cc -v 2>&1 | grep -q clang; then
cc_type=clang
- cc_version=__VERSION__
+ check_cpp_condition stdlib.h "defined(__clang_version__)" && cc_version=__clang_version__ || cc_version=__VERSION__
CC_DEPFLAGS='-MMD'
AS_DEPFLAGS='-MMD'
speed_cflags='-O3'
--
1.7.1
More information about the ffmpeg-devel
mailing list