[FFmpeg-cvslog] configure: use .altmacro for gnu as check on arm

Janne Grunau git at videolan.org
Mon Jun 9 17:13:25 CEST 2014


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Thu May 29 17:04:57 2014 +0200| [7b06ddb8352fe7f434414d7911ced94956bb25b2] | committer: Janne Grunau

configure: use .altmacro for gnu as check on arm

Clang's integrated assembler (after 3.4) does not yet support the
'.altmacro' directive which is only used in arm asm. Support is planned:
http://llvm.org/bugs/show_bug.cgi?id=18918

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b06ddb8352fe7f434414d7911ced94956bb25b2
---

 configure |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 59f7273..8359c68 100755
--- a/configure
+++ b/configure
@@ -3736,6 +3736,10 @@ if enabled asm; then
 m x
 EOF
 
+    check_as <<EOF || $nogas "GNU assembler not found, install gas-preprocessor"
+.altmacro
+EOF
+
     check_as <<EOF && enable as_func
 .func test
 .endfunc



More information about the ffmpeg-cvslog mailing list